public void Read(NDRParser parser) { parser.BeginStructure(); parser.ReadEmbeddedStructureFullPointer(ref NetName); ShareType = new ShareTypeExtended(parser); parser.ReadEmbeddedStructureFullPointer(ref Remark); parser.EndStructure(); }
public ShareInfo2Entry(string shareName, ShareTypeExtended shareType) { NetName = new NDRUnicodeString(shareName); ShareType = shareType; Remark = new NDRUnicodeString(String.Empty); MaxUses = UnlimitedConnections; Path = new NDRUnicodeString(String.Empty); Password = null; }
public void Read(NDRParser parser) { parser.BeginStructure(); parser.ReadEmbeddedStructureFullPointer(ref NetName); ShareType = new ShareTypeExtended(parser); parser.ReadEmbeddedStructureFullPointer(ref Remark); Permissions = (Permissions)parser.ReadUInt32(); MaxUses = parser.ReadUInt32(); CurrentUses = parser.ReadUInt32(); parser.ReadEmbeddedStructureFullPointer(ref Path); parser.ReadEmbeddedStructureFullPointer(ref Password); parser.EndStructure(); }
public ShareInfo1Entry(string shareName, ShareTypeExtended shareType) { NetName = new NDRUnicodeString(shareName); ShareType = shareType; Remark = new NDRUnicodeString(String.Empty); }