コード例 #1
0
 public static EndPoint AsEndPoint(this GIPEndPoint payment)
 {
     return(payment.AsIPEndPoint());
 }
コード例 #2
0
 public static IPEndPoint AsIPEndPoint(this GIPEndPoint payment)
 {
     return(new IPEndPoint(IPAddress.Parse(payment.Ip), payment.Port));
 }