Full Version

Navigation:  About MegaPipe .NET Control > How to Use It >

Full Version

Previous pageReturn to chapter overviewNext page

Follow the instructions listed below to add the full version MegaPipe .NET control to your project:

 

1. Uninstall the trial version and complete the installation for the full version, copy MegaPipeNet.dll in VB.NET demo project sub folder or C# demo project sub folder in the destination folder (e.g. "C:\Program Files\MW6 .NET Components\MegaPipe\Full Version") to your project folder to replace the trial version MegaPipe .NET control.

 

 

2. The license key method SetKey should be called before you call any other MegaPipe function.

[Visual Basic .NET]

Public Function SetKey(ByVal Key As String) As Boolean

[C#]

public bool SetKey(string Key);

Parameters

Key

    10 digits license key obtained from us.

 

Return Value

If the license key is valid, the return value is true, otherwise the return value is false.

 

Examples

[Visual Basic .NET]

 

Dim ValidKey As Boolean

MegaPipeNet1 = New MegaPipe.MegaPipeNet(Me.components)

ValidKey = MegaPipeNet1.SetKey("XXXXXX-XXXX")

 

MegaPipeNet1.BaudRate = 9600

MegaPipeNet1.InputQ = 16384

MegaPipeNet1.ModemSelIndex = CType(0, Short)

MegaPipeNet1.OutputQ = 16384

MegaPipeNet1.PhoneNumber = Nothing

MegaPipeNet1.RThreshold = 0

MegaPipeNet1.XferWorkDir = Nothing

[C#]

 

bool ValidKey;

MegaPipeNet1 = new MegaPipe.MegaPipeNet(this.components);

ValidKey = MegaPipeNet1.SetKey("XXXXXX-XXXX");

 

MegaPipeNet1.BaudRate = 9600;

MegaPipeNet1.InputQ = 16384;

MegaPipeNet1.ModemSelIndex = ((short)(0));

MegaPipeNet1.OutputQ = 16384;

MegaPipeNet1.PhoneNumber = null;

MegaPipeNet1.RThreshold = 0;

MegaPipeNet1.XferWorkDir = null;