123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- using SMBLibrary.RPC;
- using Utilities;
- namespace SMBLibrary.Services
- {
-
-
-
- public class ServerInfo100 : ServerInfoLevel
- {
- public PlatformName PlatformID;
- public NDRUnicodeString ServerName;
- public ServerInfo100()
- {
- ServerName = new NDRUnicodeString();
- }
- public ServerInfo100(NDRParser parser)
- {
- Read(parser);
- }
- public override void Read(NDRParser parser)
- {
-
-
-
- parser.BeginStructure();
- PlatformID = (PlatformName)parser.ReadUInt32();
- parser.ReadEmbeddedStructureFullPointer(ref ServerName);
- parser.EndStructure();
- }
- public override void Write(NDRWriter writer)
- {
- writer.BeginStructure();
- writer.WriteUInt32((uint)PlatformID);
- writer.WriteEmbeddedStructureFullPointer(ServerName);
- writer.EndStructure();
- }
- public override uint Level
- {
- get
- {
- return 100;
- }
- }
- }
- }
|