private string GenerateQRCodeUrl(string content, QRCodeSize size, QRErrorCorrection errorCorrection) { var baseUrl = "http://chart.apis.google.com/chart?cht=qr&chs={0}x{0}&chld={1}&choe=UTF-8&chl={2}"; return(string.Format(baseUrl, (int)size, errorCorrection.ToString(), Uri.EscapeDataString(content))); }
private string GenerateQRCodeUrl(string content, QRCodeSize size, QRErrorCorrection errorCorrection) { var baseUrl = "http://chart.apis.google.com/chart?cht=qr&chs={0}x{0}&chld={1}&choe=UTF-8&chl={2}"; return string.Format(baseUrl, (int)size, errorCorrection.ToString(), Uri.EscapeDataString(content)); }