Run Code
|
API
|
Code Wall
|
Users
|
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
Please
log in
to post a comment.
One liner recursive prime generator
30272 Program Ex5 if_else2_odd_even
C# get decimal part only form double extension
little problem
Fechas
Bubble Sort
Cotton Farm
lab
ProbableCause
Passing Multidimensional Arrays As Arguments
Please log in to post a comment.