iunie 2008 - Posts

Copy/paste from the MSDN Forums: The SideShow team has recently released some developer tools to allow the creation of SideShow gadgets in VB and C#, as well as a developer preview of Windows SideShow for Windows Mobile to allow you to use your gadget Read More...
To check if the FTP Server is on, use the following snippet: public void ConnectFtpSite( string host, int port) { try { Socket s = new Socket ( AddressFamily .InterNetwork, SocketType .Stream, ProtocolType .Tcp); IPHostEntry iphost = Dns .GetHostByName(host); Read More...
Posted 23 iunie 2008 13:08 by lucianb | 0 Comments
Filed under:
If you want to check if a HTTP server is active on a machine on your network, the following code snippet might be useful: string server = "127.0.0.1" ; // The default HTTP Port. This can be changed int port = 80; string page = "" ; // The command sent Read More...
Posted 22 iunie 2008 16:52 by lucianb | 0 Comments
Filed under:
If you need to verify if a computer from the network is online and you know it's IP address, you can achieve this using the following code: string server = "xxx.xxx.xxx.xxx" ; //address to verify, like 127.0.0.1 IPAddress ipa = IPAddress .Parse(server); Read More...
Posted 21 iunie 2008 15:31 by lucianb | 10 Comments
Filed under: