https://github.com/gabboxl/linkshorterdotnet
A simple C# .NET Standard library which includes most link-shortener services.
https://github.com/gabboxl/linkshorterdotnet
class csharp dotnet library link linkshortener netstandard short
Last synced: 12 months ago
JSON representation
A simple C# .NET Standard library which includes most link-shortener services.
- Host: GitHub
- URL: https://github.com/gabboxl/linkshorterdotnet
- Owner: Gabboxl
- Created: 2018-04-10T14:14:28.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-06-23T15:20:15.000Z (about 4 years ago)
- Last Synced: 2025-04-08T21:30:26.193Z (about 1 year ago)
- Topics: class, csharp, dotnet, library, link, linkshortener, netstandard, short
- Language: C#
- Homepage: https://linkshorter.gabboxl.ga
- Size: 44.9 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LinkShorter.NET [](https://travis-ci.org/Gabboxl/LinkShorterDotNET) [](https://ci.appveyor.com/project/Gabboxl/linkshorterdotnet) [](https://github.com/Gabboxl/LinkShorterDotNET/releases)
A simple C# .NET Standard library which inlcude the most link-shortener services.
------------------------------------------------------
How to use
--------------
To include this class in your solution/project you need to add the reference to this class:
1) *right click* on the project in "explore solutions" on the right
2) click on "*add...*"
3) click on "*reference..*"
4) go in the tab "*browse*" on the left
5) click the button "browse" on the bottom- right
6) select the .dll file downloaded from here: https://github.com/Gabboxl/LinkShorterDotNET/releases (you can also build the latest code with Visual Studio by downloading the solution at the top).
The class is very simple to use, here's an example:
`using LinkShorterNET;`
`Linkshorter test = new Linkshorter("Adfocus", "https://gabboxl.ga"); ` <-- we call the constructor, in this example we will use the *Adfocus* service.
`return test.GetLink(); ` <-- we get the link shorten with the *GetLink()* method.
--------
-under construction-