OutlineManager 1.1.3

dotnet add package OutlineManager --version 1.1.3
                    
NuGet\Install-Package OutlineManager -Version 1.1.3
                    
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="OutlineManager" Version="1.1.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="OutlineManager" Version="1.1.3" />
                    
Directory.Packages.props
<PackageReference Include="OutlineManager" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add OutlineManager --version 1.1.3
                    
#r "nuget: OutlineManager, 1.1.3"
                    
#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.
#addin nuget:?package=OutlineManager&version=1.1.3
                    
Install OutlineManager as a Cake Addin
#tool nuget:?package=OutlineManager&version=1.1.3
                    
Install OutlineManager as a Cake Tool

OutlineManager

.NET Library for Outline Proxy Manager API

Installation

Enter this into terminal in your project directory:

dotnet add package OutlineManager

Quick start

  1. Get your API Management URL from your Outline Server:
sudo cat /opt/outline/access.txt
  1. Initialize the server in your C# project
private static string apiUrl = "your URL from Outline Server";
public static OutlineManager server1 = new OutlineManager(apiUrl);

Get List of Outline Server Keys

Use method .GetKeys() to get list of Outline Keys in the List<OutlineKey>:

//returns List<OutlineKey>
var keys = outline.GetKeys();

Edit Outline Key

1. Rename Outline Key

You can change name of key by KeyId with the method .RenameKey().

Parameters:

  • id - ID of the Key
  • name - new name for this key

Example:

// return true, if operation was successful
var status = outline.RenameKey(0, "Lance's key");

2. Add Data Limit

If your Outline Server's traffic not unlimited, you can adjust data limits with the method .AddDataLimit().

Parameters:

  • id - ID of the Key in Outline
  • limitBytes - Your new limit in bytes

Example:

// return true, if operation was successful
var status = outline.AddDataLimit(0, 0); // if limit in bytes = 0, the key usage is suspended

Also you can remove limit with method outline.DeleteDataLimit(0) with id parameter

3. Create new Key

You can create new key for your friend or family with method .CreateKey().

// returns key info in OutlineKey
var status = outline.CreateKey(0, 0);

Also you can delete key with method outline.DeleteKey(0) with id parameter, if this key leaked or useless

4. Get Transferred Data

You can get list of keys with transferred data in bytes with method .GetTransferredData().

// return List<TransferredData>
var transferredData = outline.GetTransferredData();

❤️Support Devs of this Library

Russia 🇷🇺:<br>

DonationAlerts<br> QIWI<br> YooMoney - 4100115740796249<br> Sberbank - 4817 7602 1736 1942 (Kirill K.)<br> Tinkoff - 2200 7007 7308 4180 (Kirill I.)

Turkey 🇹🇷:<br>

Papara - 1895931253 (Kirill Corvych) Oldubil - 5388 4105 5265 3265

Product 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
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.1.3 553 9/2/2023
1.1.2 206 7/2/2023
1.1.0 248 3/6/2023
1.0.4 247 3/6/2023
1.0.3 271 3/5/2023 1.0.3 is deprecated because it is no longer maintained.
1.0.2 241 3/5/2023
1.0.1 301 3/5/2023 1.0.1 is deprecated because it has critical bugs.
1.0.0 259 3/4/2023

Fix SSL bypass for POST methods