Archive for May, 2011

AutoExit 2011 Beta-2 For Windows Home Server 2011

May 31, 2011

It’s been a while since Beta-1 of AutoExit for WHS 2011 was released, but now you can rest assured Beta-2 is here!

This version mostly fixes issues that were present in Beta-1 and it had been made fully compatible with the release version of WHS 2011.
A new feature in this beta is that you can now also add non-WHS machines (which don’t have the WHS Client Connector software installed)

You can download it from the ASoft site.
Please report your bugs via this feedback page.



May 27, 2011

You can now subscribe to the ‘ASoft Newsletter’; news/updates will be posted to this mailinglist so that you can easily stay up-to-date with ASoft and its products.

How to retrieve the product type of Windows Home Server 2011

May 22, 2011

Windows Home Server 2011 has three product editions:

  • Windows SBS 2011 Essentials incorporates best-of-breed 64-bit product technologies for data backup and restore, remote access, file and printer sharing, and quick connection to the cloud—in one fully integrated solution.
  • Windows Home Server 2011 is the server platform that’s designed specifically for families and how they access their digital data. It helps to simplify and connect your family’s photos, videos, music, and TV by providing a familiar and easy way to share, store, stream, and automatically protect what’s most important. It supports up to 10 users.
  • Windows Storage Server 2008 R2 Essentials is the ideal storage server solution to help home-based and small business owners keep important data automatically backed up, protected, organized, and accessible from virtually anywhere. Built on the Windows Server 2008 R2 operating system, it streamlines access to centralized files for up to 25 users.

If you are writing an addin and you want to know what version your addin is running on, then this simple class will be very helpful to you.

The way we retrieve this information is via the Windows API GetProductInfo:
private const int PRODUCT_HOME_SERVER = 0x22;
private const int PRODUCT_SB_SOLUTION_SERVER = 0x13;
private const int PRODUCT_HOME_PREMIUM_SERVER = 0x32;

private static extern bool GetProductInfo(int dwOSMajorVersion, int dwOSMinorVersion, int dwSpMajorVersion, int dwSpMinorVersion, outuint pdwReturnedProductType);

/// WHS Edition
public enum WHSEdition
/// Unknown Edition
Unknown = 0,
/// Windows Home Server 2011
Standard = 1,
// Windows Small Business Server 2011 Essentials
SmallBusinessEssentials = 2,
/// Windows Storage Server 2008R2
StorageServer = 3

/// Retrieves the WHS Edition that the application is running on
public static WHSEdition GetWHSEdition()
uint pdwReturnedProductType;

out pdwReturnedProductType);

switch (pdwReturnedProductType)
case PRODUCT_HOME_SERVER: return WHSEdition.Standard;
case PRODUCT_SB_SOLUTION_SERVER: return WHSEdition.StorageServer;
case PRODUCT_HOME_PREMIUM_SERVER: return WHSEdition.SmallBusinessEssentials;
default: return WHSEdition.Unknown;

You can download the class sourcefile here.

.NET Version Detector XI is here

May 18, 2011

A new version of .NET Version Detector has been released.
It’s a minor update but with a very useful feature!

It’s now possible to use a the commandline to run .NET Version Detector without its user interface and create a report that is saved to a file of your choice.
You can do it like this: dotnet.exe <pathtofile>
Example: dotnet.exe c:\temp\asoft_netver.txt

You can download the latest version here.