[Sample Of Oct 10th] Get MAC of local Ethernet and Wireless80211

  Sample Download :  CS Version: http://code.msdn.microsoft.com/CSMACAddress-23db2a0a VB Version: http://code.msdn.microsoft.com/VBMACAddress-86df039b The sample demonstrates how to get the MAC of local Ethernet and Wireless80211 adapters or remote host using 3 approaches. 1. Use Win32 WMI classes. 2. Use IP Helper APIs. 3. Use NDIS WMI classes. You can find more code samples that demonstrate the most…

0

[Sample Of Apr 11st] Enable NetBIOS over TCP/IP

  Sample Download : http://code.msdn.microsoft.com/CppEnableNetBiosOverTCPIP-ed32d818 This sample application demonstrates how to set the NetBIOS Over TCP/IP on the server. We are using here WMI’s class Win32_NetworkAdapterConfiguration under ROOT\CimV2 namespace. 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…

0

[Sample of Oct 21st] UDP multicast client in Silverlight

  Sample Download : http://code.msdn.microsoft.com/CSSL4UdpAnySourceMulticastL-3fb81c14 This code sample implements a simple UDP multicast client in Silverlight, listening on port 8888. 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,…

2

[Sample of June 9th] Get MAC of local Ethernet and Wireless80211

  Sample Download : http://code.msdn.microsoft.com/CSMACAddress-23db2a0a Developed by Ruiz Yi, the sample demonstrates how to get the MAC of local Ethernet and Wireless80211 adapters or remote host using 3 approaches from C#. 1. Use Win32 WMI classes. 2. Use IP Helper APIs. 3. Use NDIS WMI classes. Note: 1. To support IPv6 and the latest NDIS,…


[Sample of Apr 3rd] Multi-threaded Web Downloader created in C# and VB.NET

  Sample Download: C# version: http://code.msdn.microsoft.com/CSMultiThreadedWebDownloade-2be7db9bVB version: http://code.msdn.microsoft.com/VBMultiThreadedWebDownloade-57e5475b Today’s code sample demonstrate how to to download a file using multiple threads.  It’s a multi-threaded web downloaded created in C# and VB.NET! The sample was written by our star sample developer: Ruiz Yi. You can find more code samples that demonstrate the most typical programming scenarios…


[Sample of Mar 21th] Socket communication in C# and VB

  Sample Download C# version: http://code.msdn.microsoft.com/CSSocketCommunication-089f0e86 VB version: http://code.msdn.microsoft.com/VBSocketCommunication-f1fb4541 Today’s code sample demonstrates the basic socket network communication in C# and VB. Sockets are an application programming interface (API) in an operating system, used for in inter-process communication. Sockets constitute a mechanism for delivering incoming data packets to the appropriate application process or thread, based…


[Sample of Mar 20th] Set DNS SRV Record entry in Domain Naming Server

  Sample Download:http://code.msdn.microsoft.com/CppCreateDNSRecord-9edac3c1 Today’s code sample demonstrates how to set the DNS SRV Record entry in the Domain Naming Server via C++. We are using here WMI’s class MicrosoftDNS_SRVType under ROOT\MicrosoftDNS namespace.  This namespace is provided by Microsoft to manage DNS.  This application takes the advantages of WMI classes and executes the method CreateInstanceFromPropertydata. The…


[Sample of Mar 19th] Enable NetBIOS over TCP/IP

  Sample Download: http://code.msdn.microsoft.com/CppEnableNetBiosOverTCPIP-ed32d818 Today’s code sample illustrates how to set the NetBIOS Over TCP/IP on the server. We are using here WMI’s class Win32_NetworkAdapterConfiguration under ROOT\CimV2 namespace.  This namespace is provided by Microsoft to manage most of the WMI Classes.  This application takes the advantages of WMI classes and executes the method SetTCPIPNetBIOS. The…