Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Agent Namespace / Log Class / ApplyConsent Method

In This Topic
    ApplyConsent Method
    In This Topic
    Non-UI clients should call this in lieu of DisplayStartupConsentDialog to activate auto-send
    Syntax
    'Declaration
     
    
    Public Shared Sub ApplyConsent() 
    public static void ApplyConsent()
    Remarks
    Auto send doesn't enable immediately if auto send consent is enabled to allow time for the UI to be displayed and a user to make their choice. In applications that can display a user interface DisplayStartupConsentDialog should be called to give the user the opportunity to opt in and then enable auto send based on their decision. For other applications (like windows services, console applications, and web sites) this method should be called to have the system evaluate the current auto-send configuration and if necessary start.
    Requirements

    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