LibStorj.NET.Wrapper.x64
0.8.1
dotnet add package LibStorj.NET.Wrapper.x64 --version 0.8.1
NuGet\Install-Package LibStorj.NET.Wrapper.x64 -Version 0.8.1
<PackageReference Include="LibStorj.NET.Wrapper.x64" Version="0.8.1" />
paket add LibStorj.NET.Wrapper.x64 --version 0.8.1
#r "nuget: LibStorj.NET.Wrapper.x64, 0.8.1"
// Install LibStorj.NET.Wrapper.x64 as a Cake Addin
#addin nuget:?package=LibStorj.NET.Wrapper.x64&version=0.8.1
// Install LibStorj.NET.Wrapper.x64 as a Cake Tool
#tool nuget:?package=LibStorj.NET.Wrapper.x64&version=0.8.1
libstorj.NET
A .Net/C#-wrapper for Storj
This library enables you to connect to the storj-network to upload and retrieve files to the distributed and secure cloud-storage. It is based on the java-libstorj-binding and has the same feature-set. The JAR of the java-binding was converted via IKVM.Net and therefore has some restrictions. It currently does not work from UWP and it might be sligthly slower than other wrappers as it involves the Java Virtual Machine provided by IKVM. And during runtime there are many DLL-files needed (which are all included in this wrapper, though). Furthermore, there is only an x64-bit-version available.
But beside that it is the very first fully working .Net-Wrapper for Storj! Yay!
Available Functions
- List Buckets
- List Files
- Upload / Download Files
- Delete Files
- Register new user
- Various helper methods (GetTimestamp, GenerateMnemonic and others)
All Methods use the async/await-pattern.
Usage
There is a nuget-package available - simply search for "storj". If you can't or don't want to use Nuget, get the latest release and add the included DLLs within your project. Set those DLL's to "Copy if newer", so they get copied to the output directory. Add the following DLL's as assembly-references to your project:
- LibStorj.Wrapper.Contracts.dll
- LibStorj.Wrapper.x64.dll
Be sure that you build your project for x64.
Create a storj-object:
LibStorj.Wrapper.x64.Storj storj = new LibStorj.Wrapper.x64.Storj();
Have fun! More info on how to use it will be found in the wiki, soon.
Build
Simply open the solution in Visual Studio 2017 and hit F5. All dependencies are included or should download automatically. If you want to build the IKVM-wrapper-DLL on your own, follow these steps:
- Download and install IKVM.Net
- Download the JAR-file from the java-libstorj-release you are interested in
- open a command-prompt and type
ikvmc YOURJAR.jar -platform:x64
- include the resulting DLL in your project and build. Don't forget to also update the java-storj.dll
IKVM.Net
Unfortunately, IKVM.Net is not supported anymore. The sourceforge-repo is still available, so if there are any issues, you might help yourself there. If someone is capable of doing a total P/Invoke-library based on the original libstorj.dll, then we could leave the java-binding and IKVM aside. I did not get very far as my understanding of C/C++, structs, marshalling and such did not help. Nevertheless, this should be possible and I would be happy to get my IKVM-based wrapper replaced by that. If you want to try it out, it would be great if you could use the Storj-interface-file provided in the DLL LibStorj.Wrapper.Contracts. Your implementation could the be used by all projects that are or will use my libstorj.NET-wrapper without big changes.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- LibStorj.NET.Wrapper.Contracts (>= 0.8.1)
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 |
---|