Udostępnij za pośrednictwem


BER Encoding Technology Sample

This sample demonstrates using the BerConverter class to do basic encoding rules (BER) encoding and decoding. This sample is available only in Visual C#.

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

To build the sample

  1. Open a Command Prompt window and navigate to the BEREncoding\CS directory. For information about required settings and the SDK Command Prompt, see How to: Set Sample Settings.

  2. Type msbuild berencoding.sln at the command line.

To run the sample

  1. Navigate to the directory that contains the built executable file, using the command prompt.

  2. Type berencoding and press Enter.

Note

This sample is a console application. You must start and run it in a Command Prompt window to view its output.

Remarks

This sample encodes and decodes objects and displays the results.