Visual Basic (Declaration) | |
---|---|
Public Property UriOperationCredentials As ICredentials |
Visual Basic (Usage) | Copy Code |
---|---|
|
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).For an example, refer to Save(RasterImage image, Uri uri, RasterImageFormat format, int bitsPerPixel, int firstPage, int lastPage).
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:
GetInformation(Uri uri, bool totalPages) GetInformation(Uri uri, bool totalPages, int pageNumber) Load(Uri uri) Load(Uri uri, int bitsPerPixel, CodecsLoadByteOrder order, int firstPage, int lastPage) Save(RasterImage image, Uri uri, RasterImageFormat format, int bitsPerPixel) Save(RasterImage image, Uri uri, RasterImageFormat format, int bitsPerPixel, int firstPage, int lastPage)
To change the proxy information to use when accessing a remote resource, use the UriOperationProxy property.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family