Venice::SdkInfo (Interface: Venice)
 
Returns or sets SDK internal state information.
 
BSTR SdkInfo (
    BSTR bsAction,
    BSTR bsParam
)
 
Parameters
bsAction
[in] Action string. This string is case sensitive. An exception is thrown for invalid input values.
bsParam
[in] Optional string parameter. An exception is thrown for invalid input values.
 
Return value
The result string for the requested bsAction and bsParam according to the following table:
bsAction bsParam Need logon? Return
GetRootDir unused Yes The Venice base installation path. May be used to verify that the SDK is using the expected Venice installation.
GetMainDir unused Yes The Venice main path. This is usually the folder 'main' in the Venice base installation path, may have been redirected via a startup profile (see ASP provider installation manual).
GetProcDir unused Yes The Venice process registration path. This is usually the folder 'common' in de main path (see GetMainDir above), may have been redirected via a startup profile (see ASP provider installation manual).
GetProfileIniPath unused Yes The startup profile used for this SDK instance.
GetSdkDllPath unused No The path of this instance of the ClSdk.dll. May be used to verify which dll file is being used. This should be the ClSdk.dll located in the Bin folder of the local system path.
See also: ClVenice vModuleName property, it is this module (process or exe) that is hosting the ClSdk.dll returned here.
GetPID unused No The process ID (as string) of the process hosting the ClSdk.dll. This is the value for the 'PID' column in Windows Task Manager and is the value returned by the Windows API function GetCurrentProcessId(). This may be different from the PID your code is running on if the SDK is being remoted, surrogated or externally hosted.
See also: ClVenice vModuleName property.
GetNetBIOSName unused No The NetBIOS Name of the local computer the ClSdk.dll is being hosted on.
GetFQDN unused No The Fully Qualified DNS Name that uniquely identifies the local computer the ClSdk.dll is being hosted on.
 
Remarks
This member function is intended for troubleshooting purposes only.
 
See Also
CreateVenice
 
Samples
 
C++
 
CString strValue;
strValue = (LPCSTR)pVenice->SdkInfo ( "GetRootDir", "" );

C#
 
string strValue;
strValue = oVenice.SdkInfo ( "GetRootDir", "" );

VBS
 
Dim strValue
strValue = oVenice.SdkInfo ( "GetRootDir", "" )

VB.NET
 
Dim strValue As String
strValue = oVenice.SdkInfo ( "GetRootDir", "" )