Share via


IWHSInfo.Init Method

Identifies your application to the Windows Home Server notification infrastructure.

Namespace: Microsoft.HomeServer.SDK.Interop.v1
Assembly: Microsoft.HomeServer.SDK.Interop.v1 (in microsoft.homeserver.sdk.interop.v1.dll)

Usage

Syntax

'Declaration
Sub Init ( _
    <InAttribute> ApplicationName As String _
)
void Init (
    [InAttribute] string ApplicationName
)
void Init (
    [InAttribute] String^ ApplicationName
)
void Init (
    /** @attribute InAttribute() */ String ApplicationName
)
function Init (
    ApplicationName : String
)

Parameters

  • ApplicationName
    A string that contains the unique identifier for your application.

Remarks

Important

The Windows Home Server notification infrastructure does not work correctly if multiple instances of an application are running on the same computer using the same application name. To run multiple instances of your application on the same computer, you must provide a unique identifier for each instance. You can use a GUID as a unique identifier.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, Windows XP

Target Platforms

Windows Home Server

See Also

Reference

IWHSInfo Interface
IWHSInfo Members
Microsoft.HomeServer.SDK.Interop.v1 Namespace