1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- using System;
- using System.Collections.Generic;
- using Utilities;
- namespace SMBLibrary.SMB1
- {
-
-
-
- public class NTTransactNotifyChangeResponse : NTTransactSubcommand
- {
-
- public byte[] FileNotifyInformationBytes;
- public NTTransactNotifyChangeResponse() : base()
- {
- }
- public NTTransactNotifyChangeResponse(byte[] parameters) : base()
- {
- FileNotifyInformationBytes = parameters;
- }
- public override byte[] GetParameters(bool isUnicode)
- {
- return FileNotifyInformationBytes;
- }
- public List<FileNotifyInformation> GetFileNotifyInformation()
- {
- return FileNotifyInformation.ReadList(FileNotifyInformationBytes, 0);
- }
- public void SetFileNotifyInformation(List<FileNotifyInformation> notifyInformationList)
- {
- FileNotifyInformationBytes = FileNotifyInformation.GetBytes(notifyInformationList);
- }
- public override NTTransactSubcommandName SubcommandName
- {
- get
- {
- return NTTransactSubcommandName.NT_TRANSACT_NOTIFY_CHANGE;
- }
- }
- }
- }
|