Extending Windows Home Server

This section explains how to extend the Windows Home Server platform through the API for Windows Home Server. Each topic covers a single object and provides a short example of how you can use the API to develop your custom application.


The code samples included in this section are for learning purposes only. You should not use this code in a production environment.

Before You Begin

In order to write code that extends the Windows Home Server platform, you need to add the appropriate reference to your Visual Studio project.

To add a reference to Microsoft.HomeServer.SDK.Interop.v1.dll:

  1. In Visual Studio Solution Explorer, expand your project.

  2. Right-click References, and then click Add Reference.

  3. On the Add Reference dialog, click Browse, and then navigate to %programfiles%\Windows Home Server\.

  4. Select Microsoft.HomeServer.SDK.Interop.v1.dll, and then click OK.

  5. Microsoft.HomeServer.SDK.Interop.v1.dll appears in References for your project in Solution Explorer. Additionally, in the Visual Studio Object Browser, Microsoft.HomeServer.SDK.Interop.v1.dll appears.

Also, if you are writing your code in Visual C#, make sure to add a using directive for the Microsoft.HomeServer.SDK.Interop.v1 namespace to your code.

To add a "using" directive to your project:

  1. In the Visual Studio Solution Explorer, double-click the class file for your code.

  2. Navigate to the top of the file where the using directives are located.

  3. Add the following using directive:

    using Microsoft.HomeServer.SDK.Interop.v1;


The Notification API is available for use on Windows clients as well as Windows Home Server for use in the implementation of custom notification applications.

In this section

The following topics are included in this section:

See Also


Programming Tutorial
Extending the Windows Home Server Console