Skip to content

Instantly share code, notes, and snippets.

@sergiorykov
Created October 15, 2016 20:21
Show Gist options
  • Save sergiorykov/84db71cfa6ec736a977829ad0e017ec4 to your computer and use it in GitHub Desktop.
Save sergiorykov/84db71cfa6ec736a977829ad0e017ec4 to your computer and use it in GitHub Desktop.
Creates QR-code url
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