VintaSoft Twain .NET SDK 15.1: Documentation for .NET developer
Vintasoft.WpfTwain.ImageUploading.Http Namespace / HttpUpload Class / UseDefaultCredentials Property
Syntax Remarks Requirements SeeAlso
    UseDefaultCredentials Property (HttpUpload)
    Gets or sets a bool value that controls whether default credentials are sent with requests.
    Syntax
    'Declaration
    
    Public Property UseDefaultCredentials As Boolean
    
    
     

    Property Value

    true if the default credentials are used; otherwise false. Default value is false.
    Remarks

    Set this property to true when requests made by this HttpUpload object should, if requested by the server, be authenticated using the credentials of the currently logged on user. For client applications, this is the desired behavior in most scenarios. For middle tier applications, such as ASP.NET applications, instead of using this property, you would typically set the System.Net.ICredentials property to the credentials of the client on whose behalf the request is made.

    Requirements

    Target Platforms: .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also