DeQmaTech.WeTransferSDK 1.0.1

dotnet add package DeQmaTech.WeTransferSDK --version 1.0.1                
NuGet\Install-Package DeQmaTech.WeTransferSDK -Version 1.0.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DeQmaTech.WeTransferSDK" Version="1.0.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DeQmaTech.WeTransferSDK --version 1.0.1                
#r "nuget: DeQmaTech.WeTransferSDK, 1.0.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install DeQmaTech.WeTransferSDK as a Cake Addin
#addin nuget:?package=DeQmaTech.WeTransferSDK&version=1.0.1

// Install DeQmaTech.WeTransferSDK as a Cake Tool
#tool nuget:?package=DeQmaTech.WeTransferSDK&version=1.0.1                

Functions:

https://github.com/loudKode/WeTransferSDK/blob/master/IClient.cs

Example:

Dim cLENT As WeTransferSDK.IClient = New WeTransferSDK.OClient("xxxxxxxxx")
Dim RSLT = Await cLENT.GetToken
        Try
            Dim frm As New DeQma.FileFolderDialogs.VistaOpenFileDialog With {.Multiselect = False, .Title = "Select FILE/s to upload"}
            If frm.ShowDialog = DialogResult.OK AndAlso Not String.IsNullOrEmpty(frm.FileName) Then
                Dim UploadCancellationToken As New Threading.CancellationTokenSource()
                Dim progressIndicator_ReportCls As New Progress(Of WeTransferSDK.ReportStatus)(Sub(ReportClass As WeTransferSDK.ReportStatus)
                                                                                                   Label1.Text = String.Format("{0}/{1}", ISisFunctions.Bytes_To_KbMbGb.SetBytes(ReportClass.BytesTransferred), ISisFunctions.Bytes_To_KbMbGb.SetBytes(ReportClass.TotalBytes))
                                                                                                   ProgressBar1.Value = CInt(ReportClass.ProgressPercentage)
                                                                                                   Label2.Text = If(CStr(ReportClass.TextStatus) Is Nothing, "Uploading...", CStr(ReportClass.TextStatus))
                                                                                               End Sub)
                Dim rslt = Await cLENT.Upload(frm.FileName, WeTransferSDK.OClient.UploadTypes.FilePath, IO.Path.GetFileName(frm.FileName), "xxxxxxx", progressIndicator_ReportCls, Nothing, UploadCancellationToken.Token)
                DataGridView1.Rows.Add(rslt.url, rslt.state)
            End If
        Catch ex As WeTransferSDK.WeTransferException
            MsgBox(ex.Message)
        End Try
Product Compatible and additional computed target framework versions.
.NET Framework net452 is compatible.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 571 8/29/2019