CSharpTest.Net
IpcChannelRegistrar Constructor
See Also  Example Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.IpcChannel Namespace > IpcChannelRegistrar Class : IpcChannelRegistrar Constructor

rootHive
One of the registry hives ex: Registry.CurrentUser
allChannelsRoot
The path to store the ex: @"Software\YourProduct\IpcChannels"

Glossary Item Box

Creates a ChannelRegistrar baseed in the hive specified at the allChannelsRoot path provided

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal rootHive As RegistryKey, _
   ByVal allChannelsRoot As String _
)
C# 
public IpcChannelRegistrar( 
   RegistryKey rootHive,
   string allChannelsRoot
)

Parameters

rootHive
One of the registry hives ex: Registry.CurrentUser
allChannelsRoot
The path to store the ex: @"Software\YourProduct\IpcChannels"

Example

Library/Library.Test/TestIpcChannel.cs

C#Copy Code
_registrar = new IpcChannelRegistrar(Registry.CurrentUser, KeyPath);
VB.NETCopy Code
_registrar = New IpcChannelRegistrar(Registry.CurrentUser, KeyPath)

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys