53

I'm looking for a library to generate QR codes in .NET I've stumbled across a few paid ones, but very few free ones that look any good. Anyone have experience with a good free open-source library?

Thanks

Micah
  • 111,873
  • 86
  • 233
  • 325

4 Answers4

42

Take a look at this one http://qrcodenet.codeplex.com/

George Mamaladze
  • 7,593
  • 2
  • 36
  • 52
11

http://code.google.com/p/zxing/ and How To Use ZXing C# Port might answer your question.

Community
  • 1
  • 1
Michael Levy
  • 13,097
  • 15
  • 66
  • 100
  • 3
    Warning: zXing.NET doesn't support Medium Trust, meaning it won't work in ReportingServices (unless you have permission to change the trust level of SSRS). – Stefan Steiger Mar 04 '15 at 10:45
7

I have been using the other port ZXing.Net with some success. According to the website, it has assemblies available for the following platforms:

  • .Net 2.0, 3.5 and 4.0
  • Silverlight 4 and 5
  • Windows Phone 7.0, 7.1 and 8.0
  • Windows CE
  • Windows RT
  • Unity3D (.Net 2.0 built without System.Drawing reference)
  • Mono for Android
tobsen
  • 5,328
  • 3
  • 34
  • 51
  • 1
    Warning: zXing.NET doesn't support Medium Trust, meaning it won't work in ReportingServices (unless you have permission to change the trust level of SSRS). – Stefan Steiger Mar 04 '15 at 10:45
3

In past I used this one.
It's really "heavy" (about 6MB) but it worked for me and it's released under Code Project Open License (CPOL). I forgot: C# source code is provided.
Another one is MessagingToolKit, which is provided even with a free license; I don't remember (excuse me) if QR is inside free license or not.

Marco
  • 56,740
  • 14
  • 129
  • 152