Created
October 15, 2016 20:21
-
-
Save sergiorykov/84db71cfa6ec736a977829ad0e017ec4 to your computer and use it in GitHub Desktop.
Creates QR-code url
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace Mojito.Core | |
{ | |
public static class QrCodeFactory | |
{ | |
public static Uri CreateUri(string content) | |
{ | |
// Image Size 3: value 4 | |
// Image Size 4: value 6 | |
return new Uri($"http://qrcoder.ru/code/?{content}&4&0"); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment