[ the jinxbot project :: home | community forum | bn# | controls | mbncsutil | get the source ]
Gets EXE information for the specified file.

Namespace:  MBNCSUtil
Assembly:  MBNCSUtil (in MBNCSUtil.dll) Version: 2.1.7.22 (2.1.7.22)

Syntax

C#
public static int GetExeInfo(
	string fileName,
	out string exeInfoString
)
Visual Basic (Declaration)
Public Shared Function GetExeInfo ( _
	fileName As String, _
	<OutAttribute> ByRef exeInfoString As String _
) As Integer
Visual C++
public:
static int GetExeInfo(
	String^ fileName, 
	[OutAttribute] String^% exeInfoString
)

Parameters

fileName
Type: System..::.String
The name of the file.
exeInfoString
Type: System..::.String %
Returns the file's timestamp and other information.

Return Value

The file's version.

Exceptions

ExceptionCondition
System..::.ArgumentNullExceptionThrown if the fileName parameter is null (Nothing in Visual Basic).
System.IO..::.FileNotFoundExceptionThrown if the file specified by fileName does not exist in the specified path.

See Also