A dialog to be used to let a user login to a Milestone VMS system. More...
Public Types | |
| enum | ServerConfigurationEnum { MasterAndSlaves , MasterOnly , AllServersIndividually } |
| Deprecated. More... | |
Public Member Functions | |
| DialogLoginForm (SetLoginResultDelegate setLoginResult) | |
| Initialize the login dialog, and set the callback method for setting the result of the entire login process. | |
| DialogLoginForm (SetLoginResultDelegate setLoginResult, Guid integrationId, string integrationName, string version, string manufacturerName) | |
| Initialize the login dialog, and set the callback method for setting the result of the entire login process. | |
| delegate void | SetLoginResultDelegate (bool connected) |
| A callback method for setting how the login performed. | |
| void | UpdateProgress (double progress, string text) |
| Call this to update the state of the progress indicator. | |
Public Attributes | |
| ServerConfigurationEnum | ServerConfiguration = ServerConfigurationEnum.AllServersIndividually |
| Deprecated. Use MasterOnly instead. | |
Protected Member Functions | |
| delegate void | UpdateProgressSafe (double progress, string text) |
| Will be called whenever progress is updated. | |
Properties | |
| bool | AutoLogin [get, set] |
| Set this to true if you like the auto-login tick mark to be set at start. | |
| bool | DisableAutoLogin [get, set] |
| Set this property to false, if the AutoLogin is already ticked to on, but should be ignored this time. | |
| bool | EnsureDomain [get, set] |
| If set to true the current domain will automatically be added to the user name if no domain is provided. | |
| Image | LoginLogoImage [set] |
| Set this Image to have your own image at top of the login dialog. | |
| bool | MasterOnly = true [get, set] |
| If set to true the dialog will only log in to the site specified in the URI field. If set to false it will also log in to any MFA subsites. Default is true. | |
A dialog to be used to let a user login to a Milestone VMS system.
If login is performed in the Program.cs file, the following code could be used:
Deprecated.
|
inline |
Initialize the login dialog, and set the callback method for setting the result of the entire login process.
This method is obsolete - please use DialogLoginForm(SetLoginResultDelegate, Guid, string, string, string) instead.
| setLoginResult |
|
inline |
Initialize the login dialog, and set the callback method for setting the result of the entire login process.
| setLoginResult | |
| integrationId | Unique identifier identifying the application making the request (create this once and hard-code in your application). |
| integrationName | Name of the application |
| version | Version of the application |
| manufacturerName | Name of the manufacturer |
| delegate void VideoOS.Platform.SDK.UI.LoginDialog.DialogLoginForm.SetLoginResultDelegate | ( | bool | connected | ) |
A callback method for setting how the login performed.
| connected |
|
inline |
Call this to update the state of the progress indicator.
| progress | |
| text |
|
protected |
Will be called whenever progress is updated.
| progress | |
| text |
| ServerConfigurationEnum VideoOS.Platform.SDK.UI.LoginDialog.DialogLoginForm.ServerConfiguration = ServerConfigurationEnum.AllServersIndividually |
Deprecated. Use MasterOnly instead.
|
getset |
Set this to true if you like the auto-login tick mark to be set at start.
|
getset |
Set this property to false, if the AutoLogin is already ticked to on, but should be ignored this time.
This property should be used when the application has already logged on automatically, and the user need to logout/login to provide new server address or credentials.
|
getset |
If set to true the current domain will automatically be added to the user name if no domain is provided.
|
set |
Set this Image to have your own image at top of the login dialog.
Ideal size is 469x62 pixels, but will be stretched to fit.
|
getset |
If set to true the dialog will only log in to the site specified in the URI field. If set to false it will also log in to any MFA subsites. Default is true.