Loupe - Log - Monitor - Resolve
Gibraltar.Agent.Configuration Namespace / AutoSendConsentConfiguration Class

In This Topic
    AutoSendConsentConfiguration Class
    In This Topic

    Configures consent requirements for automatic background transmission of session data.

    If enabled then the server autoSendSessions option will be treated as false until the user grants consent. This is designed to allow users to opt in to sending data through an embedded user interface. Since an embedded user interface is the only method of providing consent this option only works with Windows applications.

    If you enable this option you will need to supply a value for CompanyName, ServiceName, and PrivacyPolicyUrl. These provide display values used in the user interface.

    To complete the integration into your windows application you must add a call to Log.DisplayStartupConsentDialog once your application has displayed to prompt end users to make a decision. It will only display until they make a decision or reach the maximum number of opportunities you specify in PromptUserOnStartupLimit. To allow users to change their mind after their initial opportunity to opt in or out add a menu item to call Log.DisplayConsentDialog.

    Public NotInheritable Class AutoSendConsentConfiguration 
    public sealed class AutoSendConsentConfiguration 
    Inheritance Hierarchy



    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also