Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
UriOperationCredentials Property
See Also 
Leadtools.Codecs Namespace > RasterCodecs Class : UriOperationCredentials Property



Gets or sets authentication information used with URI-based operations

Syntax

Visual Basic (Declaration) 
Public Property UriOperationCredentials As ICredentials
Visual Basic (Usage)Copy Code
Dim instance As RasterCodecs
Dim value As ICredentials
 
instance.UriOperationCredentials = value
 
value = instance.UriOperationCredentials
C# 
public ICredentials UriOperationCredentials {get; set;}
C++/CLI 
public:
property ICredentials UriOperationCredentials {
   ICredentials get();
   void set (ICredentials value);
}

Return Value

An ICredentials that contains the authentication credentials used with URI-based operations. The default is a null reference (Nothing in Visual Basic).

Example

Remarks

The UriOperationCredentials is used to authenticate the required access to a remote resource.

To override the default credentials to use when accessing a remote resource, you must change the value of the UriOperationCredentials property prior to calling any of these methods:

To change the proxy information to use when accessing a remote resource, use the UriOperationProxy property.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also