Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
OneDrive Direct Download Generator
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 = Console.ReadLine(); 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
hay
assignment no.3.cs
Non-User input - Random Controlled - Guessing Game
NationalCode
MVC Learning
Decimal Test2
Bubble Sort
Reflection custom test
HMS abstract
Math 10.9 edited makeMultQ