Compartir a través de


Remoting Secure Channels Technology Sample

This sample introduces developers to the secure channel capabilities that are new in the .NET Framework version 2.0.

For information about using the samples, see the following topics:

To build the sample using the command prompt

  1. Open a Command Prompt window and navigate the appropriate language specific subdirectory.

  2. Type msbuild.exe SecureRemoting.sln at the command line.

To build the sample using Visual Studio

  1. Open Windows Explorer and navigate to the appropriate language specific subdirectory for the sample.

  2. Double-click the icon for SecureRemoting.sln to open the file in Visual Studio.

  3. On the Build menu, click Build Solution.

The application will be built in the default \bin or \bin\Debug directory.

To run the sample

  1. Navigate to the directory containing the new executable, using the command prompt or Windows Explorer.

  2. Type Client.exe at the command line, or double-click the icon for Client.exe to launch it from Windows Explorer.

    NoteNote

     Be sure to have the server running before you start the client.

See Also

Reference

RemotingConfiguration
CurrentPrincipal
MarshalByRefObject
RegisteredChannels