Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SetSecureLockIcon event

Fires when there is a change in encryption level.


HTML Attribute <element SetSecureLockIcon = "handler(event)">
attachEvent Method object.attachEvent("SetSecureLockIcon", handler)


Event information



Event handler parameters

SecureLockIcon [in]

Type: variant

A VT_I4 that specifies one of the SecureLockIconConstants.


This event fires when moving to a site that uses encryption and from a site that uses encryption. When moving between two sites that both use encryption, this event fires two times: one time to denote a movement away from a site using encryption, and a seond time to denote a movement to a site using encryption.

The browser's status bar displays a lock icon when encryption is present. Mousing over this icon invokes a ToolTip that indicates the level of encryption.

An application that hosts the WebBrowser Control can use this event to display a UI that shows the current encryption level.

Multiple levels of encryption can coexist in a single window in situations where there are multiple frames. If there are multiple levels of encryption present on a page, the SecureLockIcon has the value of secureLockIconMixed.

The encryption level on a page can be higher than the default level set in the browser, if the site is using a special type of certificate, for example, a Server Gated Cryptography certificate.



Community Additions

© 2015 Microsoft