GetDLLVersion Method - intrepidcs API

C/C++ declare - VB.NET declare - C# declare - Parameters - Return Values - Remarks - C/C++ example - VB.NET example - C# example

This method returns the software version of the DLL.

C/C++ Declare

int _stdcall icsneoGetDLLVersion();

Visual Basic .NET Declare

Public Declare Function icsneoGetDLLVersion Lib “icsneo40.dll” () As Integer

C# Declare

[DllImport(“icsneo40.dll”)] public static extern int icsneoGetDLLVersion();

Parameters

None.

Return Values

This function returns the version number of the API.

Remarks

None.


Examples

C/C++ Example

char szOut[200];

// get the DLL version and report it
wsprintf(szOut,TEXT("intrepidcs API DLL Version %d\n"), icsneoGetDLLVersion());
MessageBox(hWnd,szOut,TEXT("Message"),MB_ICONINFORMATION);

Visual Basic .NET Example

'// get the DLL version information and place in Button text
Button1.Text = "Version " + Convert.ToString(icsneoGetDLLVersion)

C# Example

'// get the DLL version information and place in Button text
Button1.Text = "Version " + Convert.ToString(icsNeoDll.icsneoGetDLLVersion());