March 2018
Beginner to intermediate
410 pages
10h 40m
English
We will use the persistent settings library we presented earlier to check if we've got persisted credentials from earlier sessions:
string Host = await RuntimeSettings.GetAsync(
"XmppHost","waher.se");
int Port = (int)await RuntimeSettings.GetAsync("XmppPort", 5222);
string UserName = await RuntimeSettings.GetAsync(
"XmppUserName",string.Empty);
string PasswordHash = await RuntimeSettings.GetAsync(
"XmppPasswordHash", string.Empty);
string PasswordHashMethod = await RuntimeSettings.GetAsync(
"XmppPasswordHashMethod", string.Empty);
Read now
Unlock full access