The SocketTools .NET Edition classes allow you to quickly integrate Internet functionality into your applications, using the development tools and programming languages of your choice. The .NET edition includes detailed technical documentation and examples, along with free technical support for developers and evaluators.
You can request an experienced software architect provide your company with a free quote and consultation for a project that uses SocketTools. This can include developing a specific desktop or server application, or a custom modification to a SocketTools component.
» Request a custom development quote online
Supported Languages
The SocketTools .NET classes are managed code assemblies that can be used with Visual Basic .NET, C# and C++, as well as a variety of other .NET programming languages. SocketTools can also be used with .NET based scripting languages, such as PowerShell.
The following code example shows how the SocketTools.FtpClient class could be used to upload a file to a server using the SFTP (SSH) protocol:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
// Create an instance of the FtpClient class SocketTools.FtpClient ftpClient = new SocketTools.FtpClient(); ftpClient.HostName = editHostName.Text; ftpClient.RemotePort = SocketTools.FtpClient.ftpPortSSH; ftpClient.UserName = editUserName.Text; ftpClient.Password = editPassword.Text; // Connect to the server and authenticate the user if (ftpClient.Connect()) { // Upload the local file to the server if (ftpClient.PutFile(editLocalFile.Text, editRemoteFile.Text)) { MessageBox.Show("The file was uploaded successfully"); } // Disconnect from the server when the transfer completes ftpClient.Disconnect(); } else { MessageBox.Show(ftpClient.LastErrorString); return; } |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
// Create an instance of the FtpClient class SocketTools::FtpClient^ ftpClient = (gcnew SocketTools::FtpClient()); ftpClient->HostName = editHostName->Text; ftpClient->RemotePort = SocketTools::FtpClient::ftpPortSSH; ftpClient->UserName = editUserName->Text; ftpClient->Password = editPassword->Text; // Connect to the server and authenticate the user if (ftpClient->Connect()) { // Upload the local file to the server if (ftpClient->PutFile(editLocalFile->Text, editRemoteFile->Text)) { MessageBox::Show("The file was uploaded successfully"); } // Disconnect from the server when the transfer completes ftpClient->Disconnect(); } else { MessageBox::Show(ftpClient->LastErrorString); } |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
' Create an instance of the FtpClient class Dim ftpClient As New SocketTools.FtpClient ftpClient.HostName = editHostName.Text ftpClient.RemotePort = SocketTools.FtpClient.ftpPortSSH ftpClient.UserName = editUserName.Text ftpClient.Password = editPassword.Text ' Connect to the server and authenticate the user If ftpClient.Connect() Then ' Upload the local file to the server If ftpClient.PutFile(editLocalFile.Text, editRemoteFile.Text) Then MsgBox("The file was uploaded successfully") End If ' Disconnect from the server when the transfer completes ftpClient.Disconnect() Else MsgBox(ftpClient.LastErrorString) End If |
SocketTools .NET includes components that support version 2.0 through version 4.5.2 of the .NET Framework, and are compatible with all versions of Visual Studio from Visual Studio 2005 through to the current release, Visual Studio 2015. You can select which version of the assemblies that you wish to use, choosing version 2.0 for backwards compatibility with earlier versions of the framework, or choose version 4.0 for compatibility with current releases up to version 4.5.2.
Development Tools
Supported development tools are Microsoft Visual Studio, Embarcadero RAD Studio XE, and SharpDevelop. The Visual Studio Express versions are also supported. Other third-party IDEs and .NET languages that fully support the Common Language Infrastructure (CLI) on the Windows platform can also use the SocketTools .NET Edition components.
The SocketTools classes can be used to create Windows Forms, Windows Presentation Foundation (WPF) and Windows Service applications, on either desktop or server systems. Projects can target both the x86 (32-bit) and x64 (64-bit) platforms, and SocketTools also includes Windows Installer packages that you can use with your installation to simplify deployment.
Supported Platforms
SocketTools is supported on Windows 10 and Windows Server 2016. It is also supported on earlier desktop platforms, from Windows XP through Windows 8.1. On the Windows server platforms, SocketTools is supported on all versions of Windows Server 2003, Windows Server 2008 and Windows Server 2012. Both 32-bit and 64-bit versions of Windows are supported.
Windows XP must have Service Pack 3 (SP3) installed, and Windows Server 2003 must have Service Pack 2 (SP2) installed. It is recommended that you always have the current Windows service pack and critical updates installed on your development system. For IPv6 functionality, your system must have the IPv6 protocol installed and configured.