DnsClient.NET
SSH.NET
Our great sponsors
DnsClient.NET | SSH.NET | |
---|---|---|
2 | 7 | |
750 | 3,777 | |
- | 1.8% | |
6.2 | 9.0 | |
23 days ago | 5 days ago | |
C# | C# | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
DnsClient.NET
-
Send and Receive Emails in ASP.NET C#
// in the top of the file // requires installation of https://www.nuget.org/packages/DnsClient using System.Net; using System.Net.Mail; using DnsClient; MailAddress to = new MailAddress("[email protected]"); MailAddress from = new MailAddress("[email protected]"); MailMessage message = new MailMessage(from, to); message.Subject = "See you Monday?"; message.Body = "Elizabeth, I didn't hear back from you. Let me know if we're still scheduled for Monday."; LookupClient lookup = new LookupClient(); IDnsQueryResponse response = lookup.Query("westminster.co.uk", QueryType.MX); foreach(DnsClient.Protocol.MxRecord record in response.Answers) { Console.WriteLine(ObjectDumper.Dump(record.Exchange)); SmtpClient client = new SmtpClient(record.Exchange, 25); try { client.Send(message); // if we reached this point, our email was sent and we can break the loop break; } catch(SmtpException ex) { Console.WriteLine(ex.ToString()); } }
-
MS Teams DNS App
Since there's .NET SDK for MS Teams apps and there's a ready-to-use nuget for DNS it's pretty straightforward for .NET devs who got the time. However, I don't see the real value of such apps when you can just share the link for the queries from sites such as DiG GUI or Dig web interface. If you really want to, you can just create a PowerApps to return the result from those sites without any coding
SSH.NET
-
Is it possible for me to automate tasks on PuTTY using PowerShell ISE?
I've had success using SSH.NET to automate my SSH workflows. It looks like theres a PowerShell module called Posh-SSH that usses a custom version of ssh.net to work easier with PowerShell.
-
Azure - Best Way to automate SFTP transfers
So premium Azure Function with a Public IP & outgoing NAT Gateway for networking. And everything else in a single C# project: - SSH.Net for transfer (https://github.com/sshnet/SSH.NET) - Graph SDK for Sharepoint upload (https://github.com/microsoftgraph/msgraph-sdk-dotnet)
-
Pulling and visualizing data from a database client side
- Azure Function app on .NET 6.0, connected to SQL server using SSH.NET for an SSH tunnel and [MySQL's .NET connector](https://dev.mysql.com/doc/connector-net/en/)
-
Search FTP Directory to see if file exists and partially matches my variable
Which SFTP library are you using? There should be a method to enumerate the files in a directory, e.g. for SSH.NET
-
Feed multiple lines to CMD and return output as string
If you want to connect to a remote machine you can do that directly through C# with something like this https://www.nuget.org/packages/SSH.NET/
-
How can I use FTP on .Net 3.5 CF?
I've had a look SSH.Net but I get an error when I try add the reference.
-
BP VBO for SFTP file transfers?
Ahh that would make sense, then. I've also come across this library which may be helpful to OP -- https://github.com/sshnet/SSH.NET
What are some alternatives?
FluentFTP - An FTP and FTPS client for .NET & .NET Standard, optimized for speed. Provides extensive FTP commands, File uploads/downloads, SSL/TLS connections, Automatic directory listing parsing, File hashing/checksums, File permissions/CHMOD, FTP proxies, FXP support, UTF-8 support, Async/await support, Powershell support and more. Written entirely in C#.
DNS - A DNS library written in C#
SharpSnmpLib
Device.Net - A C# cross platform connected device framework
(Really) Simple Service Discovery Protocol For .Net - Really Simple Service Discovery Protocol - a 100% .Net implementation of the SSDP protocol for publishing custom/basic devices, and discovering all device types on a network.
NModbus4 - NModbus4 is a C# implementation of the Modbus protocol. This project is archived in favor of https://github.com/NModbus/NModbus
XPlaneConnector - Read data and send commands to XPlane via UDP