Last active
February 9, 2017 17:19
-
-
Save ChrisMoney/035c06b3c92596e4d6cd671876598b5e to your computer and use it in GitHub Desktop.
WCF - Implementation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Right click Service Reference in Visual Studio | |
// Click Configuration | |
// Add WSDL url | |
// Make sure the service returns as a list & dictionary | |
private bool SaveToSettingsWeb(KIOSK_Properties dto) | |
{ | |
List<string> macIds = CurrentIP.GetLocalMacs().ToList<string>(); | |
// proxy uses settings from the client config file which points to the actual WCF config file | |
//so no need to plug anything in here but the client instantation itself | |
WS_Kiosk.KioskClient proxy = new WS_Kiosk.KioskClient(); | |
bool updateSuccess = proxy.UpdateKiosk(dto); | |
return updateSuccess; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment