Ejemplo n.º 1
0
 private int SetMSAUserToken()
 {
     try
     {
         _store_manager.setMSAUserToken(Win10AuthenticationManager.GetWUToken(Properties.LauncherSettings.Default.CurrentInsiderAccount));
     }
     catch (Exception ex)
     {
         System.Diagnostics.Debug.WriteLine("Error while Authenticating UserToken for Version Fetching:\n" + ex);
     }
     return(1);
 }
Ejemplo n.º 2
0
 public void EnableUserAuthorization()
 {
     _store_manager.setMSAUserToken(Win10AuthenticationManager.GetWUToken(Properties.LauncherSettings.Default.CurrentInsiderAccount));
 }