
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
The ActiveXperts Network component is a simple COM based API for using (secure) TCP/UDP client protocols, including: * Dns - Query servers running a domain name service (DNS). More » * Ftp(s) - Read web pages, analyze content. Supports HTTP-Post, proxies, SSL and more. * Http(s) - Read web pages, analyze content. Supports HTTP-Post, proxies, SSL and more. * Icmp - See if you can reach another computer and determine how long it takes. * IPtoCountry - Translates IP addresses to countries. Use it for web log analysis, marketing purposes, etc. * Ntp - Query NTP time servers and retrieve the actual date and time. * Radius - Networking protocol to provide centralized authentication and authorization management. * Rsh - Run commands or scripts on a remote UNIX or LINUX computer through RSH. * Scp - Securely transfer files between two computers using the SSH (Secure SHell) protocol. * Sftp - Allows secure network file transfer over an insecure network, such as the Internet. * Snmp - Use SNMP operations Get, GetNext, Set and Trap; supports SNMP v1, SNMP v2c and SNMP v3. * Snmp Trap - Send/receive SNMP traps to/from SNMP agents (v1, v2c, v3) in the network. * Snmp MIB - Load a MIB database into memory and iterate over all objects and view all properties. * Ssh - Run commands or scripts on LINUX computer in a secure way using SSH. * Tcp - Write your own TCP-based client/server applications or Telnet application. * Tftp - Get/put files from/to a remote TFTP host. * TraceRoute - Tracks the route packets taken from an IP network on their way to a given host. * Udp - Create your UDP-based client/server applications; create UDP-based broadcast application. * VMware - Get performance data from a VMware host and its virtual machines. * Wake-On-LAN - Wake up (power-up) machines on your LAN, based on their MAC address. * Xen -Get performance data from a Citrix Xen host and its virtual machines.
Find a stand-alone windows installer here
Or download the full package which includes a number of working examples for C#, VB.Net, ASP.NET, C++, etc.. here: ActiveXperts Download Area
using System; using System.IO; using AxNetwork;
namespace SshDemo { class SshDemo { [STAThread] static void Main(string[] args) { AxNetwork.Ssh objSsh = new AxNetwork.Ssh(); // Create instance of COM Object string strDemoHost = "ssh.activexperts-labs.com", strDemoUser = "axnetwork", strDemoPassword = "topsecret";
// A license key is required to unlock this component after the trial period has expired.
// Call 'Activate' with a valid license key as its first parameter. Second parameter determines whether to save the license key permanently
// to the registry (True, so you need to call Activate only once), or not to store the key permanently (False, so you need to call Activate
// every time the component is created). For details, see manual, chapter "Product Activation".
/*
objSsh.Activate( "XXXXX-XXXXX-XXXXX", false );
*/
// Display component information
Console.WriteLine("ActiveXperts Network Component {0}\nBuild: {1}\nModule: {2}\nLicense Status: {3}\nLicense Key: {4}\n", objSsh.Version, objSsh.Build, objSsh.Module, objSsh.LicenseStatus, objSsh.LicenseKey);
// Set Logfile (optional, for debugging purposes)
objSsh.LogFile = Path.GetTempPath() + "Ssh.log";
Console.WriteLine("Log file used: {0}\n", objSsh.LogFile);
objSsh.Host = ReadInput("Enter host/IP address", strDemoHost, false);
Console.WriteLine("Host: {0}", objSsh.Host);
if (objSsh.Host == strDemoHost)
{
objSsh.UserName = strDemoUser;
objSsh.Password = strDemoPassword;
objSsh.PrivateKeyFile = "";
}
else
{
objSsh.UserName = ReadInput("Enter Login", strDemoUser, false);
objSsh.Password = ReadInput("Enter Password (Optional)", strDemoPassword, true);
objSsh.PrivateKeyFile = ReadInput("Enter private key file (Optional)", "", true);
}
Console.WriteLine("UserName: {0}", objSsh.UserName);
Console.WriteLine("Password: {0}", objSsh.Password);
// objSsh.Port = 22; // Default port: 22
objSsh.AcceptHostKey = true; // Automatically accept and store the host key if it is changed or unknown
objSsh.ConnectTimeout = 30000;
Console.WriteLine("OpenSession...");
objSsh.OpenSession();
Console.WriteLine("OpenSession, result: {0}: ({1})", objSsh.LastError.ToString(), objSsh.GetErrorDescription(objSsh.LastError));
if (objSsh.ProtocolError != "")
Console.WriteLine("ProtocolError: {0}", objSsh.ProtocolError);
while (objSsh.IsSessionOpened())
{
objSsh.Command = ReadInput("Enter command (type 'QUIT!' to quit)", @"ls", true);
if (objSsh.Command == "QUIT!")
break;
Console.WriteLine("Command: {0}", objSsh.Command);
Console.WriteLine("ExecuteCommand...");
objSsh.ExecuteCommand();
Console.WriteLine("ExecuteCommand, result: {0}: ({1})", objSsh.LastError.ToString(), objSsh.GetErrorDescription(objSsh.LastError));
if (objSsh.ProtocolError != "")
Console.WriteLine("ProtocolError: {0}", objSsh.ProtocolError);
if (objSsh.LastError == 0)
{
Console.WriteLine("STDERR: ");
Console.WriteLine(objSsh.StdErr);
Console.WriteLine("STDOUT: ");
Console.WriteLine(objSsh.StdOut);
}
}
objSsh.CloseSession();
Console.WriteLine("CloseSession, result: {0}: ({1})", objSsh.LastError.ToString(), objSsh.GetErrorDescription(objSsh.LastError));
Console.WriteLine("Ready.");
System.Threading.Thread.Sleep(3000); // Sleep for 3 second before exit
}
static private string ReadInput(string strTitle, string strDefaultValue, bool bAllowEmpty)
{
String strInput, strReturn = "";
if (strDefaultValue == "") Console.WriteLine("{0}:", strTitle);
else Console.WriteLine("{0}, leave blank to use: {1}", strTitle, strDefaultValue);
do
{
Console.Write(" > ");
strInput = Console.ReadLine();
if (strInput.Length > 0)
strReturn = strInput;
} while (strReturn == "" && !bAllowEmpty && strDefaultValue == "");
if (strReturn == "") return strDefaultValue;
else return strReturn;
}
}
}
Any questions or need an extension of the trial period? Please send us an email at: support@activexperts.com
This product is a fully functional 30 day trail.
Find more information about pricing and how to purchase or our sales page: ActiveXperts Customer Services
FAQs
The ActiveXperts Network component is a simple COM based API for using (secure) TCP/UDP client protocols, including: * Dns - Query servers running a domain name service (DNS). More » * Ftp(s) - Read web pages, analyze content. Supports HTTP-Post, proxies, SSL and more. * Http(s) - Read web pages, analyze content. Supports HTTP-Post, proxies, SSL and more. * Icmp - See if you can reach another computer and determine how long it takes. * IPtoCountry - Translates IP addresses to countries. Use it for web log analysis, marketing purposes, etc. * Ntp - Query NTP time servers and retrieve the actual date and time. * Radius - Networking protocol to provide centralized authentication and authorization management. * Rsh - Run commands or scripts on a remote UNIX or LINUX computer through RSH. * Scp - Securely transfer files between two computers using the SSH (Secure SHell) protocol. * Sftp - Allows secure network file transfer over an insecure network, such as the Internet. * Snmp - Use SNMP operations Get, GetNext, Set and Trap; supports SNMP v1, SNMP v2c and SNMP v3. * Snmp Trap - Send/receive SNMP traps to/from SNMP agents (v1, v2c, v3) in the network. * Snmp MIB - Load a MIB database into memory and iterate over all objects and view all properties. * Ssh - Run commands or scripts on LINUX computer in a secure way using SSH. * Tcp - Write your own TCP-based client/server applications or Telnet application. * Tftp - Get/put files from/to a remote TFTP host. * TraceRoute - Tracks the route packets taken from an IP network on their way to a given host. * Udp - Create your UDP-based client/server applications; create UDP-based broadcast application. * VMware - Get performance data from a VMware host and its virtual machines. * Wake-On-LAN - Wake up (power-up) machines on your LAN, based on their MAC address. * Xen -Get performance data from a Citrix Xen host and its virtual machines.
We found that axnetwork demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.