ServicePRO SDK Help

CoreServicesManager..::..GetComputerName Method

Gets the name of current computer.

Namespace:  ServicePRO.Sdk.Windows.Managers
Assembly:  ServicePRO.Sdk.Windows (in ServicePRO.Sdk.Windows.dll)

Syntax


public void GetComputerName(
	string userSessionKey,
	Action<string, Exception> callbackAction
)
Public Sub GetComputerName ( _
	userSessionKey As String, _
	callbackAction As Action(Of String, Exception) _
)

Parameters

userSessionKey
Type: String
User’s Session Key.
Key property of the User Session Object of type stcSession.
The User Session has to be established by making a call to InitializeSystemAndSession() method in CoreServicesManager class as a first step with using ServicePRO SDK.
callbackAction
Type: Action<(Of <(<'String, Exception>)>)>
The callback action.