Esempio n. 1
0
 public GetGenericHostEntryResponse GetGenericHostEntry(int index)
 {
     return(SoapHttpClient.Invoke <GetGenericHostEntryRequest, GetGenericHostEntryResponse>(
                new GetGenericHostEntryRequest {
         Index = index
     }));
 }
Esempio n. 2
0
 public GetSpecificHostEntryResponse GetSpecificHostEntry(string macAddress)
 {
     return(SoapHttpClient.Invoke <GetSpecificHostEntryRequest, GetSpecificHostEntryResponse>(
                new GetSpecificHostEntryRequest {
         MacAddress = macAddress
     }));
 }
Esempio n. 3
0
 public GetSpecificAssociatedDeviceInfoResponse GetSpecificAssociatedDeviceInfo(string macAddress)
 {
     try
     {
         return(SoapHttpClient
                .Invoke <GetSpecificAssociatedDeviceInfoRequest, GetSpecificAssociatedDeviceInfoResponse>(
                    new GetSpecificAssociatedDeviceInfoRequest {
             MacAddress = macAddress
         }));
     }
     catch (WebException e)
     {
         throw new EntryNotFoundException(macAddress, $"Wlan device info for '{macAddress}' not found.", e);
     }
 }
Esempio n. 4
0
 public GetExternalIpAddressResponse GetExternalIpAddress()
 {
     return(SoapHttpClient.Invoke <GetExternalIpAddressRequest, GetExternalIpAddressResponse>(
                new GetExternalIpAddressRequest()));
 }
Esempio n. 5
0
 public GetHostNumberOfEntriesResponse GetHostNumberOfEntries()
 {
     return(SoapHttpClient.Invoke <GetHostNumberOfEntriesRequest, GetHostNumberOfEntriesResponse>(new GetHostNumberOfEntriesRequest()));
 }