Created
July 15, 2018 14:53
Send Request To Win32
This file contains 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
private async Task SendRequestToWin32() | |
{ | |
ValueSet request = new ValueSet(); | |
request.Add("GetBiosSerialnumer", ""); | |
AppServiceResponse response = null; | |
response = await Connection.SendMessageAsync(request); | |
string serialNumber = response.Message["serialNumber"] as string; | |
var localSettings = Windows.Storage.ApplicationData.Current.LocalSettings; | |
localSettings.Values["serialNumber"] = serialNumber; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment