How To

  • How To: Get System Power State Name and Flags

    A question came up on our forums and so I investigated writing a wrapper for the GetSystemPowerState API function. This allows you to retrieve the power state name, and also a bitmask of flags – Is the backlight on, is… Continue reading

  • How To: Programmatically Scroll Controls

    A number of controls within .NETCF have built in ScrollBars. Occasionally you may want to operate these programmatically on behalf of the user. When you do this you want both the control to scroll and the scrollbars to correctly reflect… Continue reading

  • WirelessManager sample

    Mobile In The Hand 3.0 has just been released. This is the latest version of our .NET Compact Framework library for working with all aspects of Windows Mobile. This latest version is optimised for .NET Compact Framework 2.0 and 3.5… Continue reading

  • How To: Use the WebRequestMethods class

    Networking In The Hand introduces a repository for all the various method types for FTP and HTTP operations. While the common ones are easy to remember (“GET”,”POST” etc) many others are not, and so this class (like its desktop equivalent)… Continue reading

  • How To: Use the FtpWebRequest

    Networking In The Hand includes a full desktop-compatible implementation of the FtpWebRequest class. This plugs into the WebRequest class so that calling WebRequest.Create() with an FTP Uri will create an object of type FtpWebRequest. Because FTP support isn’t built into… Continue reading

  • How To: Use the WebClient

    Networking In The Hand includes the WebClient class which is a helper class which makes it easier to do uploading and downloading of data using HTTP and FTP transports. For example rather than creating an HttpWebRequest, setting a number of… Continue reading

  • How To: Use the Ping class

    Networking In The Hand includes the Ping class (In the InTheHand.Net.NetworkInformation namespace). The component allows you to determine if a network path to a particular host is available and whether the host is responding. It doesn’t guarantee that a particular service… Continue reading

  • How To: Use the AuthenticationDialog

    Networking In The Hand 2.0 offers a new dialog which allows you to prompt the user for networking credentials. The dialog is designed for the best appearance depending on your platform, for example the screenshots below show both Windows Mobile… Continue reading