[ the jinxbot project :: home | community forum | bn# | controls | mbncsutil | get the source ]
Assembly: MBNCSUtil (in MBNCSUtil.dll) Version: 2.1.7.22 (2.1.7.22)
Gets EXE information for the specified file.
Namespace:
MBNCSUtilAssembly: 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
| Exception | Condition |
|---|---|
| System..::.ArgumentNullException | Thrown if the fileName parameter is null (Nothing in Visual Basic). |
| System.IO..::.FileNotFoundException | Thrown if the file specified by fileName does not exist in the specified path. |