• 大小: 2.59MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-08-10
  • 语言: 其他
  • 标签: PowerTCP  Telnet  

资源简介

PowerTCP Telnet for .NET 4.4.5 Samples 去除Dart.Telnet.dll的试用日期限制.我测试了SHELL登录和执行命令都没问题.

资源截图

代码片段和文件信息

#pragma once

using namespace System;
using namespace System::Collections::Generic;
using namespace System::Text;
using namespace System::Security::Cryptography::X509Certificates;
using namespace System::Security::Authentication;
using namespace System::Net::Security;
using namespace System::IO;
using namespace System::Runtime::Serialization::Formatters::Binary;
using namespace System::Runtime::Serialization;
#if defined(EMULATION)
using namespace Dart::Emulation;
namespace DartComponent = Dart::Emulation;
#else
using namespace Dart::Telnet;
namespace DartComponent = Dart::Telnet;
#endif

namespace Dart {
namespace Samples {
public enum class SecurityType
{
None
Explicit
Implicit
};

/// 
/// Arguments for the RemoteCertificateValidation event this class raises when a server presents its certificate.
/// 

public ref class RemoteCertificateEventArgs : System::EventArgs
{
public:
RemoteCertificateEventArgs(X509Certificate ^remoteCertificate X509Chain ^chain SslPolicyErrors sslPolicyErrors)
{
RemoteCertificate = remoteCertificate;
Chain = chain;
SslPolicyErrors = sslPolicyErrors;
}

X509Certificate ^RemoteCertificate;
X509Chain ^Chain;
SslPolicyErrors SslPolicyErrors;
};

/// 
/// Arguments for the LocalCertificateValidation event this class raises when a server requests a certificate.
/// 

public ref class LocalCertificateEventArgs : System::EventArgs
{
public:
LocalCertificateEventArgs(System::String ^targetHost X509CertificateCollection ^localCertificates X509Certificate ^remoteCertificate array ^acceptableIssuers)
{
TargetHost = targetHost;
LocalCertificates = localCertificates;
RemoteCertificate = remoteCertificate;
AcceptableIssuers = acceptableIssuers;
}

System::String ^TargetHost;
X509CertificateCollection ^LocalCertificates;
X509Certificate ^RemoteCertificate;
array ^AcceptableIssuers;
};

public delegate void RemoteCertificateEventHandler(System::object ^sender RemoteCertificateEventArgs ^e);
public delegate void LocalCertificateEventHandler(System::object ^sender LocalCertificateEventArgs ^e);

/// 
/// This class encapsulates the “Model“ part of the Model-View-Controller design pattern and is used by samples that 
/// utilize the PowerTCP Telnet component (part of the Emulation for .NET and Telnet for .NET products).  This class
/// can be added to additional applications without the need for cut-and-paste.  Note that because this class is used 
/// in both the Emulation and Telnet product samples a compile-time directive indicates which namespace to use
/// (Dart.Emulation or Dart.Telnet).
/// 
/// This class is marked with the Serializable attribute so values can be easily stored and restored later.
/// 

[Serializable]
public ref class TelnetModel
{
public:
[NonSerialized]
DartComponent::Telnet 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    ..A..H.     39424  2016-11-01 15:15  PowerTCP Telnet for .NET 4.4.5 Samples\.vs\TelnetSamples.CS40\v14\.suo

     文件      10251  2012-11-14 23:55  PowerTCP Telnet for .NET 4.4.5 Samples\Common\CPP\TelnetModel.cpp

     文件      10520  2012-11-14 23:55  PowerTCP Telnet for .NET 4.4.5 Samples\Common\CS\TelnetModel.cs

     文件       4440  2012-11-14 23:55  PowerTCP Telnet for .NET 4.4.5 Samples\Console\CPP\Automated Console\AutomatedConsole.35.vcproj

     文件       6278  2012-11-14 23:55  PowerTCP Telnet for .NET 4.4.5 Samples\Console\CPP\Automated Console\AutomatedConsole.40.vcxproj

     文件       6379  2012-11-14 23:55  PowerTCP Telnet for .NET 4.4.5 Samples\Console\CPP\Automated Console\AutomatedConsole.45.vcxproj

     文件       5072  2012-11-14 23:55  PowerTCP Telnet for .NET 4.4.5 Samples\Console\CPP\Automated Console\AutomatedConsole.cpp

     文件       1670  2012-11-14 23:55  PowerTCP Telnet for .NET 4.4.5 Samples\Console\CPP\Automated Console\AutomatedConsole.rc

     文件         31  2012-11-14 23:55  PowerTCP Telnet for .NET 4.4.5 Samples\Console\CPP\Automated Console\licenses.licx

     文件        459  2012-11-14 23:55  PowerTCP Telnet for .NET 4.4.5 Samples\Console\CPP\Automated Console\resource.h

     文件     372526  2012-11-14 23:55  PowerTCP Telnet for .NET 4.4.5 Samples\Console\CPP\Automated Console\Telnet.ico

     文件       2463  2012-11-14 23:55  PowerTCP Telnet for .NET 4.4.5 Samples\Console\CS\Automated Console\AutomatedConsole.20.csproj

     文件       4617  2012-11-14 23:55  PowerTCP Telnet for .NET 4.4.5 Samples\Console\CS\Automated Console\AutomatedConsole.35.csproj

     文件       4891  2012-11-14 23:55  PowerTCP Telnet for .NET 4.4.5 Samples\Console\CS\Automated Console\AutomatedConsole.40.csproj

     文件       4891  2012-11-14 23:55  PowerTCP Telnet for .NET 4.4.5 Samples\Console\CS\Automated Console\AutomatedConsole.45.csproj

     文件      22688  2016-10-30 15:07  PowerTCP Telnet for .NET 4.4.5 Samples\Console\CS\Automated Console\bin\Debug\AutoLogin.vshost.exe

     文件        490  2015-10-22 09:54  PowerTCP Telnet for .NET 4.4.5 Samples\Console\CS\Automated Console\bin\Debug\AutoLogin.vshost.exe.manifest

     文件       6519  2016-10-30 15:07  PowerTCP Telnet for .NET 4.4.5 Samples\Console\CS\Automated Console\obj\Debug\DesignTimeResolveAssemblyReferencesInput.cache

     文件       5676  2012-11-14 23:55  PowerTCP Telnet for .NET 4.4.5 Samples\Console\CS\Automated Console\Program.cs

     文件         31  2012-11-14 23:55  PowerTCP Telnet for .NET 4.4.5 Samples\Console\CS\Automated Console\Properties\licenses.licx

     文件     372526  2012-11-14 23:55  PowerTCP Telnet for .NET 4.4.5 Samples\Console\CS\Automated Console\Telnet.ico

     文件       2495  2012-11-14 23:55  PowerTCP Telnet for .NET 4.4.5 Samples\Console\VB\Automated Console\AutomatedConsole.20.vbproj

     文件       4806  2012-11-14 23:55  PowerTCP Telnet for .NET 4.4.5 Samples\Console\VB\Automated Console\AutomatedConsole.35.vbproj

     文件       5080  2012-11-14 23:55  PowerTCP Telnet for .NET 4.4.5 Samples\Console\VB\Automated Console\AutomatedConsole.40.vbproj

     文件       5080  2012-11-14 23:55  PowerTCP Telnet for .NET 4.4.5 Samples\Console\VB\Automated Console\AutomatedConsole.45.vbproj

     文件         30  2012-11-14 23:55  PowerTCP Telnet for .NET 4.4.5 Samples\Console\VB\Automated Console\licenses.licx

     文件       5731  2012-11-14 23:55  PowerTCP Telnet for .NET 4.4.5 Samples\Console\VB\Automated Console\Program.vb

     文件     372526  2012-11-14 23:55  PowerTCP Telnet for .NET 4.4.5 Samples\Console\VB\Automated Console\Telnet.ico

     文件      13026  2012-11-14 23:55  PowerTCP Telnet for .NET 4.4.5 Samples\Console\VB\Automated Console\TelnetModel.vb

     文件     108032  2012-11-14 23:55  PowerTCP Telnet for .NET 4.4.5 Samples\Dart.Samples.Banners.dll

............此处省略491个文件信息

评论

共有 条评论