先安裝幾個包 獲取地址如下https://www.nuget.org/packages/QRCoder/https://www.nuget.org/packages/SixLabors.Fonts/https://www.nuget.org/packages/SixLabors.ImageSharp ...
先安裝幾個包
獲取地址如下
https://www.nuget.org/packages/QRCoder/
https://www.nuget.org/packages/SixLabors.Fonts/
https://www.nuget.org/packages/SixLabors.ImageSharp/
https://www.nuget.org/packages/SixLabors.ImageSharp.Drawing/
接著寫代碼,非常簡單,區區數行而已
點這裡 複製代碼