Click or drag to resize

INameServerClientProtocolGetFileInfo Method

Gets information about a file.

Namespace:  Ookii.Jumbo.Dfs
Assembly:  Ookii.Jumbo.Dfs (in Ookii.Jumbo.Dfs.dll) Version: 2.0.0
Syntax
JumboFile GetFileInfo(
	string path
)

Parameters

path
Type: SystemString
The full path of the file.

Return Value

Type: JumboFile
A JumboFile object referring to the file, or if the file doesn't exist.
Exceptions
ExceptionCondition
ArgumentNullExceptionpath is .
ArgumentExceptionpath is not an absolute path, contains an empty component, or contains a file name.
DirectoryNotFoundExceptionOne of the parent directories in the path specified in path does not exist.
See Also