WebDAV .NET Class Library
WebDAV .NET Class Library
WebDAV .NET
Independentsoft.Webdav
WebdavSession Class
WebdavSession Constructor
WebdavSession Properties
WebdavSession Methods

# WebdavSession Class

This class is for the session management of Resource class.
Inheritance Hierarchy
System
Object
Independentsoft.Webdav
WebdavSession

Namespace: Independentsoft.Webdav
Assembly: Independentsoft.Webdav (in Independentsoft.Webdav.dll) Version: 1.0.700.18437
Syntax
C#
VB
Copy

    public class WebdavSession

    Public Class WebdavSession

The WebdavSession type exposes the following members.

Constructors

| Name | Description
--- | --- | ---
| WebdavSession | Initializes a new instance of the WebdavSession class.
| WebdavSession(ICredentials) | Initializes a new instance of the WebdavSession class.
| WebdavSession(WebProxy) | Initializes a new instance of the WebdavSession class with proxy support.
| WebdavSession(ICredentials, WebProxy) | Initializes a new instance of the WebdavSession class.

Top
Properties

| Name | Description
--- | --- | ---
| Credentials | Gets or sets the network credentials used to authenticate the request with the Internet resource.
| Proxy | Gets or sets proxy information for the session.

Top
Methods

| Name | Description
--- | --- | ---
| Equals | (Inherited from Object.)
| Finalize | (Inherited from Object.)
| GetHashCode | (Inherited from Object.)
| GetType | (Inherited from Object.)
| MemberwiseClone | (Inherited from Object.)
| ToString | (Inherited from Object.)

Top
Examples
The following example demonstrates how to use this class:
Copy

    NetworkCredential credential = new NetworkCredential("Administrator","password123");
    WebdavSession session = new WebdavSession(credential);

See Also

#### Reference

Independentsoft.Webdav Namespace

Copyright 2022 Independentsoft

Send comments on this topic to support@independentsoft.de