Methods (7) Properties (6)
Namespace: SchwabenCode.QuickIO

Syntax

public class QuickIOShareInfo

Summary

Information about a local share

Methods

internal void QuickIOShareInfo(String server, String shareName, QuickIOShareType shareType, String remark)

Parameters

server

String

Servername

shareName

String

Name of Share

shareType

QuickIOShareType

Type of share

remark

String

Comment or smth

AsDirectoryInfo()

Returns a QuickIODirectoryInfo of the current path of this file

public QuickIODirectoryInfo AsDirectoryInfo()

Returns

QuickIODirectoryInfo

AsDirectoryInfoAsync()

Returns a QuickIODirectoryInfo of the current path of this file

public Task<QuickIODirectoryInfo> AsDirectoryInfoAsync()

Returns

QuickIODirectoryInfo

GetDiskInformation()

Returns QuickIODiskInformation of this instance.

public QuickIODiskInformation GetDiskInformation()

Returns

QuickIODiskInformation

Exceptions

UnsupportedShareType

Metadata not supported for this Sharetype. Only available for Disk

Remarks

Only supported for Disk

GetDiskInformationAsync()

Returns QuickIODiskInformation of this instance.

public Task<QuickIODiskInformation> GetDiskInformationAsync()

Returns

QuickIODiskInformation

Exceptions

UnsupportedShareType

Metadata not supported for this Sharetype. Only available for Disk

Remarks

Only supported for Disk

private void InternalSetRequiredProperties(String server, String shareName, QuickIOShareType shareType, String remark)

Parameters

server

String

Servername

shareName

String

Name of Share

shareType

QuickIOShareType

Type of share

remark

String

Comment or smth

ToString()

Returns the path to this share

public String ToString()

Properties

FullName

Returns the path

public String FullName { get; }

IsFileSystem

Returns true if this is a file system share

public Boolean IsFileSystem { get; }

Remark

Comment

public String Remark { get; set; }

Server

The name of the computer that this share belongs to

public String Server { get; set; }

ShareName

QuickIOShareInfo name

public String ShareName { get; set; }

ShareType

QuickIOShareInfo type

public QuickIOShareType ShareType { get; set; }