Skip to content

Get proper NVMe serial number - #108

Merged
zleyyij merged 3 commits into
Spec-ify:mainfrom
Adam1213:nvme-sn
Aug 11, 2026
Merged

Get proper NVMe serial number#108
zleyyij merged 3 commits into
Spec-ify:mainfrom
Adam1213:nvme-sn

Conversation

@Adam1213

Copy link
Copy Markdown
Contributor

Add a function to get proper serial numbers of NVMe drives by calling StorageAdapterSerialNumberProperty via DeviceIoCtl on target drive.

@zleyyij zleyyij left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome, just looks like a small typo :)

Comment thread client/data/Methods/Hardware.cs Outdated
return drive;
}

public static DiskDrive GetStorageAdapterSerialNumner(DiskDrive drive)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
public static DiskDrive GetStorageAdapterSerialNumner(DiskDrive drive)
public static DiskDrive GetStorageAdapterSerialNumber(DiskDrive drive)

typo?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed, thanks

@zleyyij
zleyyij merged commit 88e2d43 into Spec-ify:main Aug 11, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants