Is there a successful way to get the serial numbers of the printer, scanner and any other device connected to the computer through the C# language, whether by library or otherwise.
I am dealing directly with asp.net core or even windows application.
Both are suitable for work to obtain the required data.

I hope the solution will be completely successful.
Thank you for your cooperation.

I haven’t found a radical solution that solves the problem yet

New contributor

abdullah alnassri is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.