## DetectFileFormat(Stream) {#detectfileformat}

يكتشف ويعيد المعلومات المتعلقة بتنسيق ملف Excel مخزّن في تدفق.

```csharp
public static FileFormatInfo DetectFileFormat(Stream stream)
```

| معامل | يكتب | وصف |
| --- | --- | --- |
| stream | Stream |  |

### قيمة الإرجاع

أ[`FileFormatInfo`](../../fileformatinfo) الكائن الذي يحتوي على المعلومات المكتشفة.

### أنظر أيضا

* class [FileFormatInfo](../../fileformatinfo)
* class [FileFormatUtil](../../fileformatutil)
* مساحة الاسم [Aspose.Cells](../../fileformatutil)
* المجسم [Aspose.Cells](../../../)

---

## DetectFileFormat(Stream, string) {#detectfileformat_1}

يكتشف ويعيد المعلومات المتعلقة بتنسيق ملف Excel مخزّن في تدفق.

```csharp
public static FileFormatInfo DetectFileFormat(Stream stream, string password)
```

| معامل | يكتب | وصف |
| --- | --- | --- |
| stream | Stream |  |
| password | String | كلمة المرور لملفات ooxml المشفرة. |

### قيمة الإرجاع

أ[`FileFormatInfo`](../../fileformatinfo) الكائن الذي يحتوي على المعلومات المكتشفة.

### أنظر أيضا

* class [FileFormatInfo](../../fileformatinfo)
* class [FileFormatUtil](../../fileformatutil)
* مساحة الاسم [Aspose.Cells](../../fileformatutil)
* المجسم [Aspose.Cells](../../../)

---

## DetectFileFormat(string) {#detectfileformat_2}

يكتشف ويعيد المعلومات الخاصة بتنسيق Excel المخزنة في ملف.

```csharp
public static FileFormatInfo DetectFileFormat(string filePath)
```

| معامل | يكتب | وصف |
| --- | --- | --- |
| filePath | String | مسار الملف. |

### قيمة الإرجاع

أ[`FileFormatInfo`](../../fileformatinfo) الكائن الذي يحتوي على المعلومات المكتشفة.

### أنظر أيضا

* class [FileFormatInfo](../../fileformatinfo)
* class [FileFormatUtil](../../fileformatutil)
* مساحة الاسم [Aspose.Cells](../../fileformatutil)
* المجسم [Aspose.Cells](../../../)

---

## DetectFileFormat(string, string) {#detectfileformat_3}

يكتشف ويعيد المعلومات الخاصة بتنسيق Excel المخزنة في ملف.

```csharp
public static FileFormatInfo DetectFileFormat(string filePath, string password)
```

| معامل | يكتب | وصف |
| --- | --- | --- |
| filePath | String | مسار الملف. |
| password | String | كلمة المرور لملفات ooxml المشفرة. |

### قيمة الإرجاع

أ[`FileFormatInfo`](../../fileformatinfo) الكائن الذي يحتوي على المعلومات المكتشفة.

### أنظر أيضا

* class [FileFormatInfo](../../fileformatinfo)
* class [FileFormatUtil](../../fileformatutil)
* مساحة الاسم [Aspose.Cells](../../fileformatutil)
* المجسم [Aspose.Cells](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.Cells.dll -->
