Facebook
Welcome to Techsapphire

Uploading and downloading file on SFTP using private key in .NET using SharpSSH

Topic to cover: Connecting SFTP using Private Key using .NET console App• Downloading and Uploading File For complete SFTP operation in detail check link below:Article: http://www.techsapphire.in/index/sftp_download_upload_and_delete_file_using_sharpssh_library/0-150Video: https://youtu.be/VVqh0BCgFpM Library used Sharpssh. To install: • Got to Tools:>Library Package Manager:>Manage NuGet Pankages for solutions • Search SharpSSh • Install Script:

Uploading and downloading file on SFTP using private key in .NET using SharpSSH

Topic to cover: Connecting SFTP using Private Key using .NET console App• Downloading and Uploading File For complete SFTP operation in detail check link below:Article: http://www.techsapphire.in/index/sftp_download_upload_and_delete_file_using_sharpssh_library/0-150Video: https://youtu.be/VVqh0BCgFpM Library used Sharpssh. To install: • Got to Tools:>Library Package Manager:>Manage NuGet Pankages for solutions • Search SharpSSh • Install Script:

Keypress event in WPF to validate integer input is replaced by PreviewTextInput in C#

In WPF we don’t have keypress event, generally people used keypress event in windows forms application to validate text input. Now in this example I have showed how you can validate input from textbox using PreviewTextInput event. In this example I validated input to accept float values, you can use this to validate integer or any […]

Print POS thermal receipt from web browser using Techsapphire Direct Print

Below is instruction and demo video for same. We all know and agree with the age old slogan that says ‘Necessity is the Mother of Invention’. From a pin to a super computer was created due to our needs. Latest in this is our direct print. As the name suggests, it lets you print directly […]

Self Hosting using Nancy

Code: static class Program { /// /// The main entry point for the application. /// static NancyHost host; public class SampleModule : Nancy.NancyModule { public SampleModule() : base(“/Sample”) { Get(“/”, _ => “Hello World!”); } } public class MainModule : Nancy.NancyModule { public MainModule() : base(“/”) { Get(“/”, _ => { return “Hello Base!”; }); […]