How to get serial number of USB-Stick in C#

前端 未结 3 1958
梦如初夏
梦如初夏 2020-12-04 12:57

How do I get the internal serial number of a USB-Stick or USB-HardDrive in C#?

3条回答
  •  借酒劲吻你
    2020-12-04 13:16

    A solution using Win32 is described here

    Edit: the original link seems to have gone missing. The above is a cached copy, and the author also wrote some sample code in VB.Net which is still online here.

提交回复
热议问题