Exemple #1
0
 protected virtual AddressData GetIpAddressOrNull(string ip)
 {
     return(AsyncHelper.RunSync(async() =>
     {
         var addressData = await CommonHelper.AnalysisIp2AddressAsync(ip);
         return addressData?.AddressData ?? null;
     }));
 }