Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
useful
//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!ApN5hdLpfF7TiowMx-SrGxgONGrVug?e=Ol8OzU"; 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
entero_hacia_string
test
ss
ElaineBrown**
Ftg
Unsorted array with most occurence
Importent Gen_Coverent Example-1
bla bla
hello...
Derived static