ConnectionSettings.WorkstationId Property
SQL Server 2012
Gets or sets the ID value that uniquely identifies the workstation.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)