Skip to content

Slightly improve getting OSVersion#98

Merged
ghost1372 merged 3 commits intoghost1372:developfrom
Symbai:develop
Dec 4, 2021
Merged

Slightly improve getting OSVersion#98
ghost1372 merged 3 commits intoghost1372:developfrom
Symbai:develop

Conversation

@Symbai
Copy link
Contributor

@Symbai Symbai commented Dec 4, 2021

Marshal.SizeOf<> is faster than Marshal.SizeOf(). Also get rid of the extra line which sets dwOSVersionInfoSize as we can do this within the struct.

@ghost1372 ghost1372 merged commit 4a18134 into ghost1372:develop Dec 4, 2021
@ghost1372
Copy link
Owner

Thank you❤️👌

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