3 public enum ProxyAddress
12 public static class ProxyAddressExtensions
14 public static string GetUrl(this ProxyAddress proxy
)
18 case ProxyAddress
.SmsApiIo
:
19 return "https://smsapi.io/";
21 case ProxyAddress
.SmsApiPl
:
22 return "https://api.smsapi.pl/";
24 case ProxyAddress
.BackupSmsApiPl
:
25 return "https://api2.smsapi.pl/";
27 case ProxyAddress
.SmsApiCom
:
28 return "https://api.smsapi.com/";
30 case ProxyAddress
.BackupSmsApiCom
:
31 return "https://api2.smsapi.com/";
34 throw new ProxyException("Proxy address does not exist.");