VintaSoft Twain .NET SDK v10.2
UseDefaultCredentials Property (HttpUpload)

Vintasoft.WpfTwain.ImageUploading.Http Namespace > HttpUpload Class : UseDefaultCredentials Property
Gets or sets a System.Boolean value that controls whether default credentials are sent with requests.
Public Property UseDefaultCredentials As Boolean
Dim instance As HttpUpload
Dim value As Boolean
instance.UseDefaultCredentials = value
value = instance.UseDefaultCredentials
public bool UseDefaultCredentials {get; set;}
public: __property bool get_UseDefaultCredentials();
public: __property void set_UseDefaultCredentials( 
   bool value
property bool UseDefaultCredentials {
   bool get();
   void set (    bool value);

Property Value

true if the default credentials are used; otherwise false. Default value is false.
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.

Target Platforms: Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

See Also


HttpUpload Class
HttpUpload Members