Kaygee
Kaygee
CC#
Created by Kaygee on 9/19/2024 in #help
Convert a Binary string to a file
Hello Guys, I created this code which convert a text file to be copied into a image field in SQL server FileStream stream = new FileStream(filePath, FileMode.Open, FileAccess.Read); BinaryReader reader = new BinaryReader(stream); byte[] Fichier = reader.ReadBytes((int)stream.Length); reader.Close(); stream.Close(); return Fichier; How can I do the inverse ? I would get the binary from sql and copy content into a file Thanks
5 replies
CC#
Created by Kaygee on 5/28/2024 in #help
✅ Hi team,
I have a short question about use of Api. I need to call rest api developped in .net4.8 code in 64 bit. My code who will call it is a 32bit code with .net 4.6. Do you think it will work or we absolutely need to update to 64 bit and .net 4.8 ? For information I have lot of constrainct blocking migration of my own code 🙂 Should be to easy to align 🙂 Thanks !!!
6 replies