-
大小: 2.61MB文件类型: .rar金币: 1下载: 0 次发布日期: 2023-09-08
- 语言: 其他
- 标签: edtftpnetpro
资源简介
edtftpnetpro专业版,无限期序列号,带vs2010的测试demo
代码片段和文件信息
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
EnterpriseDT.Net.Ftp.SecureFTPConnection secFTPConnection = new EnterpriseDT.Net.Ftp.SecureFTPConnection();
EnterpriseDT.Net.Ftp.Ssl.SSLFTPClient ss = new EnterpriseDT.Net.Ftp.Ssl.SSLFTPClient();
}
private void secureFTPConnection1_SecuringConnection(object sender EnterpriseDT.Net.Ftp.Ssl.SSLFTPSecureEventArgs e)
{
System.Diagnostics.Debug.WriteLine(“============================“);
}
private void secureFTPConnection1_SecuredConnection(object sender EnterpriseDT.Net.Ftp.Ssl.SSLFTPSecureEventArgs e)
{
System.Diagnostics.Debug.WriteLine(“============================“);
}
private void secureFTPConnection1_Connecting(object sender EnterpriseDT.Net.Ftp.FTPConnectionEventArgs e)
{
}
private void button1_Click(object sender EventArgs e)
{
EnterpriseDT.Net.Ftp.SecureFTPConnection ftpConnection = new EnterpriseDT.Net.Ftp.SecureFTPConnection();
// SecureFTPConnection ftpConnection = new SecureFTPConnection();
// set the license 开发时需要输入如下两行
ftpConnection.LicenseOwner = “trialuser“;
//ftpConnection.LicenseKey = “706-4432-0456-5360“;
ftpConnection.LicenseKey = “706-4434-2613-4700“;
//ftpConnection.LicenseKey = “706-4432-0456-5362“;
// setting server address and credentials
ftpConnection.ServerAddress = “192.168.5.210“;
ftpConnection.ServerPort = 2121;
ftpConnection.UserName = “guest“;
ftpConnection.Password = “guest“;
ftpConnection.Protocol = EnterpriseDT.Net.Ftp.FileTransferProtocol.FTPSExplicit;
//ftpConnection.ClientCertificate = EnterpriseDT.Net.Ftp.Ssl.SSLFTPCertificate.CreateFromPEM(@“F:\work\zhaopq_project\bx-303-p\trunk\doc\ftp\ftp_ssl\vsftpd.pem“);
ftpConnection.Connect();
if (ftpConnection.IsConnected)
{
EnterpriseDT.Net.Ftp.FTPFile[] tmp_files = ftpConnection.GetFileInfos();
for (int i = 0; i < tmp_files.Length; i++)
{
System.Diagnostics.Debug.WriteLine(tmp_files[i].Path);
}
//ftpConnection
//EnterpriseDT.Net.Ftp.Ssl.SSLFTPCertificate ftpConnection.ServerCertificate
string tmp_str = ftpConnection.ServerCertificate.IssuerName;
MessageBox.Show(tmp_str + “: scuess!“);
}
else
{
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 2081280 2013-07-04 12:32 edtftpnetpro\edtFTPnetPRO.dll
文件 274 2013-12-25 14:04 edtftpnetpro\edtFTPnetPRP sn.txt
文件 144 2013-12-23 15:31 edtftpnetpro\WindowsFormsApplication1\WindowsFormsApplication1\app.config
文件 2081280 2013-07-04 12:32 edtftpnetpro\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\edtFTPnetPRO.dll
文件 600879 2013-12-24 17:32 edtftpnetpro\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\edtFTPnetPRO.rar
文件 38400 2013-12-25 14:10 edtftpnetpro\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.exe
文件 144 2013-12-23 15:31 edtftpnetpro\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.exe.config
文件 30208 2013-12-25 14:10 edtftpnetpro\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.pdb
文件 11600 2013-12-25 14:08 edtftpnetpro\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe
文件 144 2013-12-23 15:31 edtftpnetpro\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe.config
文件 490 2010-03-17 22:39 edtftpnetpro\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug\WindowsFormsApplication1.vshost.exe.manifest
文件 854378 2013-12-23 16:58 edtftpnetpro\WindowsFormsApplication1\WindowsFormsApplication1\bin\Debug.rar
文件 3112 2013-12-25 14:10 edtftpnetpro\WindowsFormsApplication1\WindowsFormsApplication1\Form1.cs
文件 41801 2013-12-23 16:20 edtftpnetpro\WindowsFormsApplication1\WindowsFormsApplication1\Form1.Designer.cs
文件 6228 2013-12-23 16:20 edtftpnetpro\WindowsFormsApplication1\WindowsFormsApplication1\Form1.resx
文件 20229 2013-12-25 14:08 edtftpnetpro\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache
文件 6246 2013-12-25 14:10 edtftpnetpro\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache
文件 4608 2013-12-23 15:31 edtftpnetpro\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\TempPE\Properties.Resources.Designer.cs.dll
文件 1038 2013-12-25 14:10 edtftpnetpro\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\WindowsFormsApplication1.csproj.FileListAbsolute.txt
文件 975 2013-12-23 16:22 edtftpnetpro\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\WindowsFormsApplication1.csproj.GenerateResource.Cache
文件 15934 2013-12-25 10:50 edtftpnetpro\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\WindowsFormsApplication1.csprojResolveAssemblyReference.cache
文件 38400 2013-12-25 14:10 edtftpnetpro\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\WindowsFormsApplication1.exe
文件 180 2013-12-23 16:22 edtftpnetpro\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\WindowsFormsApplication1.Form1.resources
文件 30208 2013-12-25 14:10 edtftpnetpro\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\WindowsFormsApplication1.pdb
文件 180 2013-12-23 15:44 edtftpnetpro\WindowsFormsApplication1\WindowsFormsApplication1\obj\x86\Debug\WindowsFormsApplication1.Properties.Resources.resources
文件 505 2013-12-23 15:30 edtftpnetpro\WindowsFormsApplication1\WindowsFormsApplication1\Program.cs
文件 1404 2013-12-23 15:30 edtftpnetpro\WindowsFormsApplication1\WindowsFormsApplication1\Properties\AssemblyInfo.cs
文件 2876 2013-12-23 15:31 edtftpnetpro\WindowsFormsApplication1\WindowsFormsApplication1\Properties\Resources.Designer.cs
文件 5612 2013-12-23 15:30 edtftpnetpro\WindowsFormsApplication1\WindowsFormsApplication1\Properties\Resources.resx
文件 1107 2013-12-23 15:31 edtftpnetpro\WindowsFormsApplication1\WindowsFormsApplication1\Properties\Settings.Designer.cs
............此处省略17个文件信息
- 上一篇:appcompat-v7:22最新的appcompat
- 下一篇:x230点位图
评论
共有 条评论