public void Init() { const string data = "http://wwww.google.com"; const string size = "100x100"; _qrCode = new GoogleQr(data, size, true); }
public static string GenerateCode(int id) { var googleQr = new GoogleQr($"techtober.azurewebsites.net/events/chooseevent/{id}", "200x200", true); //var qrImage = googleQr.Render(); var qrPath = googleQr.ToString(); return(qrPath); }