[StructLayout(LayoutKind.Sequential, CharSet=CharSet.Unicode)]
struct DFS_STORAGE_INFO {
public int State; // State of this storage, one of DFS_STORAGE_STATE_*, possibly OR'd with DFS_STORAGE_STATE_ACTIVE
[MarshalAs(UnmanagedType.LPWStr)] public string ServerName; // Name of server hosting this storage
[MarshalAs(UnmanagedType.LPWStr)] public string ShareName; // Name of share hosting this storage
}
Structure DFS_STORAGE_INFO
Public TODO
End Structure
None.
See sample in NetDfsGetInfo