当前位置: 首页>>代码示例>>C#>>正文


C# Smb.ISmbAdapter类代码示例

本文整理汇总了C#中Microsoft.Protocol.TestSuites.Smb.ISmbAdapter的典型用法代码示例。如果您正苦于以下问题:C# Microsoft.Protocol.TestSuites.Smb.ISmbAdapter类的具体用法?C# Microsoft.Protocol.TestSuites.Smb.ISmbAdapter怎么用?C# Microsoft.Protocol.TestSuites.Smb.ISmbAdapter使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


Microsoft.Protocol.TestSuites.Smb.ISmbAdapter类属于命名空间,在下文中一共展示了Microsoft.Protocol.TestSuites.Smb.ISmbAdapter类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: TestInitialize

 protected override void TestInitialize()
 {
     this.InitializeTestManager();
     this.ISmbAdapterInstance = ((Microsoft.Protocol.TestSuites.Smb.ISmbAdapter)(this.Manager.GetAdapter(typeof(Microsoft.Protocol.TestSuites.Smb.ISmbAdapter))));
     this.IServerSetupAdapterInstance = ((Microsoft.Protocol.TestSuites.Smb.IServerSetupAdapter)(this.Manager.GetAdapter(typeof(Microsoft.Protocol.TestSuites.Smb.IServerSetupAdapter))));
     this.Manager.Subscribe(ServerSetupResponseInfo, this.IServerSetupAdapterInstance);
     this.Manager.Subscribe(CreateResponseInfo, this.ISmbAdapterInstance);
     this.Manager.Subscribe(ErrorResponseInfo, this.ISmbAdapterInstance);
     this.Manager.Subscribe(ErrorTreeConnectResponseInfo, this.ISmbAdapterInstance);
     this.Manager.Subscribe(FsctlSrvCopyChunkResponseInfo, this.ISmbAdapterInstance);
     this.Manager.Subscribe(FsctlSrvRequestResumeKeyResponseInfo, this.ISmbAdapterInstance);
     this.Manager.Subscribe(NegotiateResponseInfo, this.ISmbAdapterInstance);
     this.Manager.Subscribe(SessionSetupResponseInfo, this.ISmbAdapterInstance);
     this.Manager.Subscribe(SmbConnectionResponseInfo, this.ISmbAdapterInstance);
     this.Manager.Subscribe(TreeConnectResponseInfo, this.ISmbAdapterInstance);
 }
开发者ID:LiuXiaotian,项目名称:WindowsProtocolTestSuites,代码行数:16,代码来源:RequirementCoverage_CopyChunk_Win7_Win2K8.cs

示例2: TestInitialize

 protected override void TestInitialize()
 {
     this.InitializeTestManager();
     this.ISmbAdapterInstance = ((Microsoft.Protocol.TestSuites.Smb.ISmbAdapter)(this.Manager.GetAdapter(typeof(Microsoft.Protocol.TestSuites.Smb.ISmbAdapter))));
     this.IServerSetupAdapterInstance = ((Microsoft.Protocol.TestSuites.Smb.IServerSetupAdapter)(this.Manager.GetAdapter(typeof(Microsoft.Protocol.TestSuites.Smb.IServerSetupAdapter))));
     this.Manager.Subscribe(ServerSetupResponseInfo, this.IServerSetupAdapterInstance);
     this.Manager.Subscribe(CreateResponseInfo, this.ISmbAdapterInstance);
     this.Manager.Subscribe(ErrorResponseInfo, this.ISmbAdapterInstance);
     this.Manager.Subscribe(ErrorTreeConnectResponseInfo, this.ISmbAdapterInstance);
     this.Manager.Subscribe(NonExtendedNegotiateResponseInfo, this.ISmbAdapterInstance);
     this.Manager.Subscribe(NonExtendedSessionSetupResponseInfo, this.ISmbAdapterInstance);
     this.Manager.Subscribe(SmbConnectionResponseInfo, this.ISmbAdapterInstance);
     this.Manager.Subscribe(Trans2QueryFsInfoResponseInfo, this.ISmbAdapterInstance);
     this.Manager.Subscribe(TreeConnectResponseInfo, this.ISmbAdapterInstance);
 }
开发者ID:pyq881120,项目名称:WindowsProtocolTestSuites,代码行数:15,代码来源:NonExtendRequirementCoverage_SET_QUERY_FS_InvalidLevel.cs

示例3: TestInitialize

 protected override void TestInitialize()
 {
     this.InitializeTestManager();
     this.ISmbAdapterInstance = ((Microsoft.Protocol.TestSuites.Smb.ISmbAdapter)(this.Manager.GetAdapter(typeof(Microsoft.Protocol.TestSuites.Smb.ISmbAdapter))));
     this.IServerSetupAdapterInstance = ((Microsoft.Protocol.TestSuites.Smb.IServerSetupAdapter)(this.Manager.GetAdapter(typeof(Microsoft.Protocol.TestSuites.Smb.IServerSetupAdapter))));
     this.Manager.Subscribe(ServerSetupResponseInfo, this.IServerSetupAdapterInstance);
     this.Manager.Subscribe(NegotiateResponseInfo, this.ISmbAdapterInstance);
     this.Manager.Subscribe(SessionSetupResponseInfo, this.ISmbAdapterInstance);
     this.Manager.Subscribe(SmbConnectionResponseInfo, this.ISmbAdapterInstance);
 }
开发者ID:LiuXiaotian,项目名称:WindowsProtocolTestSuites,代码行数:10,代码来源:NoSignRequirementCoverage_MultipleSessionsetupTripTraditional_Win7_Win2K8R2.cs


注:本文中的Microsoft.Protocol.TestSuites.Smb.ISmbAdapter类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。