System.Windows.Forms.WebBrowser.EncryptionLevelChanged Event

Occurs when the System.Windows.Forms.WebBrowser control navigates to or away from a Web site that uses encryption.

Syntax

[System.ComponentModel.Browsable(false)]
public event EventHandler EncryptionLevelChanged

Remarks

You can use this event with the WebBrowser.EncryptionLevel property to implement an indicator in the user interface of your application similar to the lock icon in Internet Explorer. In a handler for this event, check the value of the WebBrowser.EncryptionLevel property to determine whether you should hide or display the indicator. To mimic the behavior of the lock icon in Internet Explorer, you can also provide a ToolTip that shows the encryption level when the mouse pointer hovers over the indicator.

For more information about handling events, see Consuming Events.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0