Beispiel #1
0
 public override void ToOutputStream(DataOutputStream writer)
 {
     //From server to client
     //Tell the client if they are going to receive a device Guid
     writer.WriteBoolean(!hasDeviceGuid);
     if (!hasDeviceGuid)
     {
         DeviceGuid = Guid.NewGuid();
         writer.WriteUTF(DeviceGuid.ToString());
     }
 }
Beispiel #2
0
 public override string ToString()
 {
     return(DeviceGuid.ToString("N") + ChannelIndex.ToString("D5"));
 }