ProtectedText 1.0.0

dotnet add package ProtectedText --version 1.0.0
NuGet\Install-Package ProtectedText -Version 1.0.0
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="ProtectedText" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ProtectedText --version 1.0.0
#r "nuget: ProtectedText, 1.0.0"
#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 ProtectedText as a Cake Addin
#addin nuget:?package=ProtectedText&version=1.0.0

// Install ProtectedText as a Cake Tool
#tool nuget:?package=ProtectedText&version=1.0.0

ProtectedText

This is protected text, anonymous text sharing service, non-official api for C# language.

About service you can read more here and here.

What can you do with this library?

You can:

Create/connect to your own site

ProtectedTextClient client=new("my site","site password");

Note: ProtectedTextClient is IDisposable type, so you must dispose it after using.

Read data from your site.

string my_data=await client.ReadSite();

Note: It reads all text, including tab's texts and separators

Write site's text

await client.WriteSite("site's text");

Note: It fully rewrites site. Your current tabs will be deleted

Change password for current site

await client.ChangePassword("new password");

Delete current site

await client.DeleteSite();

Read tabs text

string[] tabs=await client.ReadTabs();

Push new tab to site

int tab_index = await client.PushTab("tab data");

Remove tabs

await client.RemoveTab(tab_index);

Edit tabs

await client.EditTab("new tab data", tab_index);

Delete tabs

await client.DeleteTab(tab_index);
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

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.0 80 6/4/2024