public launchItem(IVMwareHorizonClientLaunchItemInfo item)
 {
     name = item.name;
     id   = item.id;
     type = (LaunchItemType)item.type;
     supportedProtocols = (SupportedProtocols)item.supportedProtocols;
     defaultProtocol    = item.defaultProtocol;
 }
 public void OnNewProtocolSessionCreated(uint serverId, string sessionToken, VmwHorizonClientProtocol protocol, VmwHorizonClientSessionType type, string clientId)
 {
     Debug.WriteLine("OnNewProtocolSessionCreated(): {0} - {1} - {2} - {3} - {4}", serverId, sessionToken, protocol.ToString(), type.ToString(), clientId);
     launchtoken = sessionToken;
     hasLaunched = true;
 }
 public void OnLaunchingItem(uint serverId, VmwHorizonLaunchItemType type, string launchItemId, VmwHorizonClientProtocol protocol)
 {
     Debug.WriteLine("OnLaunchingItem(): {0} - {1} - {2} - {3}", serverId, type.ToString(), launchItemId, protocol.ToString());
 }