Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Get direct link from onedrive.com
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { string sharingUrl = "https://1drv.ms/u/s!AkijuZglD51udjvlclZWSNf_2wo"; string base64Value = System.Convert.ToBase64String(System.Text.Encoding.UTF8.GetBytes(sharingUrl)); string encodedUrl = "u!" + base64Value.TrimEnd('=').Replace('/','_').Replace('+','-'); string resultUrl = string.Format("https://api.onedrive.com/v1.0/shares/{0}/root/content", encodedUrl); Console.WriteLine(resultUrl); } } }
run
|
edit
|
history
|
help
0
Inheritance Gone Wrong Template
Compare list
The given number is prime or even
Numeric to graphical styling using String Extension method
Delegates, events
Basic classes
teste
NumsToVars
Reflection 2
sdfgrthyjuytgr