.NET Framework Class Library

IDocument.GetFileInfo Method (String, 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 (String, 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 ( _
 fileName As String, _
 password As String _
As FileInfo

C#

FileInfo GetFileInfo(
 string fileName,
 string password
)

Visual C++

FileInfoGetFileInfo(
 StringfileName,
 Stringpassword
)

Parameters

fileName

Type: System.String

FileName 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