Methods (6)
Namespace: SchwabenCode.QuickIO

Syntax

public static class QuickIOShare

Summary

Provides static methods to access network shares.

Methods

EnumerateShares(String machineName, QuickIOShareApiReadLevel level)

Enumerate shares of specific machine. If no machine is specified, local machine is used

public static IEnumerable<QuickIOShareInfo> EnumerateShares(String machineName, QuickIOShareApiReadLevel level)

Returns

Collection of QuickIOShareInfo

EnumerateSharesAsync(String machineName, QuickIOShareApiReadLevel level)

Enumerate shares of specific machine. If no machine is specified, local machine is used

public static Task<IEnumerable<String>> EnumerateSharesAsync(String machineName, QuickIOShareApiReadLevel level)

Returns

Collection of QuickIOShareInfo

GetDiskInformation(String sharePath)

Receives QuickIODiskInformation of specifies share path

public static QuickIODiskInformation GetDiskInformation(String sharePath)

Returns

QuickIODiskInformation

Remarks

See http://support.microsoft.com/kb/231497

GetMetadataAsync(String sharePath)

Receives QuickIODiskInformation of specifies share path

public static Task<QuickIODiskInformation> GetMetadataAsync(String sharePath)

Returns

QuickIODiskInformation

Remarks

See http://support.microsoft.com/kb/231497

GetShareInfoWithAdminInformation(String serverName, IntPtr item)

Checks the given share for admin information

internal static QuickIOShareInfo GetShareInfoWithAdminInformation(String serverName, IntPtr item)

Parameters

serverName

String

Sharename

item

IntPtr

Share reference

Returns

QuickIOShareInfo

GetShareInfoWithNormalInformation(String serverName, IntPtr item)

Checks the given share for normal user information

internal static QuickIOShareInfo GetShareInfoWithNormalInformation(String serverName, IntPtr item)

Parameters

serverName

String

Sharename

item

IntPtr

Share reference

Returns

QuickIOShareInfo