Exemple #1
0
        public AuthSettingsInput(rsid.AuthConfig knownConfig)
        {
            this.Owner = Application.Current.MainWindow;
            InitializeComponent();

            // Init dialog values according to current config
            Rotation0.IsChecked   = knownConfig.cameraRotation == AuthConfig.CameraRotation.Rotation_0_Deg;
            Rotation180.IsChecked = knownConfig.cameraRotation == AuthConfig.CameraRotation.Rotation_180_Deg;

            RadioMedium.IsChecked = knownConfig.securityLevel == AuthConfig.SecurityLevel.Medium;
            RadioHigh.IsChecked   = knownConfig.securityLevel == AuthConfig.SecurityLevel.High;
        }
Exemple #2
0
 static extern Status rsid_query_auth_settings(IntPtr rsid_authenticator, ref AuthConfig authConfig);
Exemple #3
0
 public Status SetAuthSettings(AuthConfig args)
 {
     return(rsid_set_auth_settings(_handle, ref args));
 }
Exemple #4
0
 public Status QueryAuthSettings(out AuthConfig result)
 {
     result = new AuthConfig();
     return(rsid_query_auth_settings(_handle, ref result));
 }
Exemple #5
0
 static extern SerialStatus rsid_set_auth_settings(IntPtr rsid_authenticator, ref AuthConfig authConfig);