[Sample Of Apr 29th] How to list active network endpoints on the system (TCP & UDP – IPv6)

  Sample Download : http://code.msdn.microsoft.com/CSCheckExeType-aab06100 This sample shows how to list active network endpoints on the system (TCP & UDP – IPv6). This sample only covers IPv6 endpoints. The sample output is similar to output from netstat (-aon) Sample output –  Number of TCP end points (IPv6) – 10  PID      LocalAddr      LocalPort      RemoteAddr      RemotePort      ConnState…

0

[Sample Of Apr 28th] How to list active network endpoints on the system (TCP & UDP – IPv4)

  Sample Download : http://code.msdn.microsoft.com/How-to-list-active-network-daf8ff48 This sample shows the TCP and UDP endpoints on the current system. This sample only covers IPv4 endpoints. The sample output is similar to output from netstat (-aon) Sample output –  Number of TCP end points (IPv4) – 38  PID      LocalAddr      LocalPort      RemoteAddr      RemotePort      ConnState ===      =========      =========      ==========      ===========     ========     4           …

0

[Sample Of Apr 10th] Caculate how many words in txt file using regular expression

  Sample Download: http://code.msdn.microsoft.com/Caculate-how-many-words-in-f110faa0 The sample demonstrates the following features: 1. How to calculate how many words in txt file using regular expression. 2. How to calculate the occurrence count of a word.   You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or Sample Browser…

0

[Sample Of Mar 6th] How to export a Registry Key to a file on disk

  Sample Download : http://code.msdn.microsoft.com/How-to-export-a-Registry-e60fcd37 This sample exports the registry key to a file on disk. This file can be used on another machine to create same registry key.   You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or Sample Browser Visual…

0

[Sample Of Jan 9th] How to transfer large size file with asynchronous sockets API in .NET

  Sample Download : http://code.msdn.microsoft.com/Fixed-size-large-file-dfc3f45d ​The sample demonstrates how to transfer large size file with asynchronous sockets API in .NET. In a typical .NET application, we can use POST methods to transfer files in a HTTPRequest message, but with request body size limit. Instead, .NET Socket API provides us an elegant and asynchronous way to…

0

[Sample Of Oct 20th] How to check whether a file is in use

  Sample Download :  http://code.msdn.microsoft.com/How-to-check-whether-a-4e7e905e The project illustrates how to check whether a file is in use or not. You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or Sample Browser Visual Studio extension. They give you the flexibility to search samples, download…

0

[Sample Of Oct 18th] How to convert between TIFF image and multiple JPEG images

  Sample Download : CS Version: http://code.msdn.microsoft.com/How-to-convert-between-8ae1c7e9 VB Version: http://code.msdn.microsoft.com/How-to-convert-between-86d3b867  This sample demonstrates how to convert JPEG images into TIFF images and vice versa. This sample also allows to create single multipage TIFF images from selected JPEG images.   You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft…

0

[Sample Of Oct 9th] How to download files from FTP server

  Sample Download :  CS Version: http://code.msdn.microsoft.com/How-to-files-from-FTP-d31b9d88 VB Version: http://code.msdn.microsoft.com/How-to-files-from-FTP-d996d604 The sample demonstrates how to list subdirectories and files of a folder on a FTP server and download all of them.   You can find more code samples that demonstrate the most typical programming scenarios by using Microsoft All-In-One Code Framework Sample Browser or Sample Browser…

0

[Sample Of Sep 23rd] How to create a simple web downloader

  Sample Download :  http://code.msdn.microsoft.com/Show-progress-in-f66dfe56 The sample demonstrates how to show progress during the download. The class System.Net.WebClient has a DownloadProgressChanged event, and you can register this event to show the progress. But this class does not support Pause/Resume. The class HttpDownloadClient in this sample could be used to download data through internet and supports…

0

[Sample Of Aug 26th] Transfer large size file with asynchronous sockets API in .NET

  Sample Download :  http://code.msdn.microsoft.com/Fixed-size-large-file-dfc3f45d ​The sample demonstrates how to transfer large size file with asynchronous sockets API in .NET. In a typical .NET application, we can use POST methods to transfer files in a HTTPRequest message, but with request body size limit. Instead, .NET Socket API provides us an elegant and asynchronous way to…

0