Пример #1
0
 // Token: 0x06000DCF RID: 3535 RVA: 0x00011890 File Offset: 0x0000FA90
 public ConnectionAddress(string connection)
 {
     try
     {
         string[] array = connection.Split(new char[]
         {
             ':'
         });
         this.Ipv4 = ConnectionAddress.ToInteger(array[0]);
         this.Port = ushort.Parse(array[1]);
     }
     catch
     {
     }
 }
Пример #2
0
 // Token: 0x06000DD0 RID: 3536 RVA: 0x0000995A File Offset: 0x00007B5A
 public ConnectionAddress(string ipAddress, ushort port)
 {
     this.Ipv4 = ConnectionAddress.ToInteger(ipAddress);
     this.Port = port;
 }