DavService.GetFromPath Method

Namespace:
Weavy.Core.Services
Assembly:
Weavy.Core.dll

GetFromPath(string)

Get entity by WebDAV path.

public static IEntity GetFromPath(string path)

Parameters

path
string

The full path from the root of the WebDAV repository, e.g. DAV/Space/Files/Folder/Subfolder/File.txt or DAV/_/3/File.txt

Returns

IEntity

An object implementing IEntity or null if no entity was found for the specified path.