.NET Framework Class Library

IDocument.GetFileInfo Method (Stream, String)

<< Click to Display Table of Contents >>

Navigation:  Gnostice Document Studio .NET > Reference Documentation > API Reference > Gnostice.Core.DOM Namespace > IDocument Interface > IDocument Methods > GetFileInfo Method  >

.NET Framework Class Library

IDocument.GetFileInfo Method (Stream, String)

Returns file information such as MIME type, size, whether open password is required to open the document and other essential information.

Namespace: Gnostice.Core.DOM

Assembly:  Gnostice.Core (in Gnostice.Core.dll)

Syntax

Visual Basic

Function GetFileInfo ( _
 stream As Stream, _
 password As String _
As FileInfo

C#

FileInfo GetFileInfo(
 Stream stream,
 string password
)

Visual C++

FileInfoGetFileInfo(
 Streamstream,
 Stringpassword
)

Parameters

stream

Type: System.IO.Stream

Stream of the file for which file information needs to be retrieved.

password

Type: System.String

Open/Permissions password of the file if the file is encrypted.

Return Value

File information.

See Also

IDocument Interface

IDocument Members

GetFileInfo Overload

Gnostice.Core.DOM Namespace