Exemplo n.º 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;
        }
Exemplo n.º 2
0
 static extern Status rsid_query_auth_settings(IntPtr rsid_authenticator, ref AuthConfig authConfig);
Exemplo n.º 3
0
 public Status SetAuthSettings(AuthConfig args)
 {
     return(rsid_set_auth_settings(_handle, ref args));
 }
Exemplo n.º 4
0
 public Status QueryAuthSettings(out AuthConfig result)
 {
     result = new AuthConfig();
     return(rsid_query_auth_settings(_handle, ref result));
 }
Exemplo n.º 5
0
 static extern SerialStatus rsid_set_auth_settings(IntPtr rsid_authenticator, ref AuthConfig authConfig);