cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to Get the Client ID Programatically when using the XT .NET SDK in FlexNet Connect

How to Get the Client ID Programatically when using the XT .NET SDK in FlexNet Connect

Summary

This article provides a code sample for retreiving the clientID when using the .NET SDK.

Synopsis

This article provides a code sample for retrieving the ClientID when using the XT .NET SDK in FlexNet Connect.

Discussion

The .NET SDK API docs do not mention this, but the IConnect interface does allow the ClientID to be retrieved. The following code blurb gets the ClientID, and writes the output to the console:

using (connectClient = ConnectFactory.GetConnect(IdentityClient.IdentityData,null))
{
Console.WriteLine("id = " + connectClient.ClientId);
}


Note that the ClientID is the MAC address for the client machine.
Labels (1)
Was this article helpful? Yes No
No ratings
Version history
Revision #:
1 of 1
Last update:
‎Oct 15, 2018 10:43 PM
Updated by: