Rebex with Powershell

0 votes
asked Sep 7, 2020 by pnayak0809 (120 points)

I am trying to use rebex in powershell.I have downloaded Rebex.sftp.dll from nuget and loaded them in powershell.When I try to invoke connect method,it asks me to register for a trial key.But I have a license key for rebex purchased for my company.Can you please let me know how to use that license key in the downloaded dll so that it doesn't ask me for trial license?Please note as I wasn't there when the purchase was made so I don't have any additional details on the license apart from the key.

Applies to: Rebex SFTP
commented Sep 7, 2020 by Lukas Pokorny (124,610 points)
Please contact and provide the license key you have, along with company name. This will make it possible for us to find your purchase and provide a key suitable for the NuGet edition of Rebex.Sftp.dll.

1 Answer

0 votes
answered Sep 8, 2020 by Lukas Pokorny (124,610 points)

In PowerShell, use the following syntax to assign a Rebex licensing key:

[Rebex.Licensing]::Key = "==Put_your_key_here=="