Esempio n. 1
0
 public Command(CommandType ct)
 {
     Type   = ct;
     Source = IPAddress.Parse(Helper.GetLocalIPAddress());
 }
Esempio n. 2
0
 public Command(CommandType ct, string destinationIP)
 {
     Type        = ct;
     Destination = IPAddress.Parse(destinationIP);
     Source      = IPAddress.Parse(Helper.GetLocalIPAddress());
 }
Esempio n. 3
0
        } = 0;                            // Sequence number/ (Optional) stores Rsync data

        // Constructors
        public Command()
        {
            Source = IPAddress.Parse(Helper.GetLocalIPAddress());
        }