winforms icon indicating copy to clipboard operation
winforms copied to clipboard

Document changes to ComputerInfo.OSFullName property

Open peymanr34 opened this issue 4 years ago • 2 comments

The following code returns different results in .NET Framework 4.8 and .NET 5.0 applications. I think this change should be documented.

MsgBox(New Devices.ComputerInfo().OSFullName)

Result in .NET Framework 4.8:

Microsoft Windows 10 Pro

Result in .NET 5.0:

Microsoft Windows 10.0.19043

Please note: I couldn't find an issue template for documentation issues/suggestions, hence the api-suggestion label.

peymanr34 avatar Aug 03 '21 18:08 peymanr34

It's seems that due to the code implement for OSFullName property have changed in the Microsoft.VisualBasic.Devices namespace, please see below screnshot. image

Zheng-Li01 avatar Aug 04 '21 02:08 Zheng-Li01

Both sets of information would be useful. Unless there is already a way to get the version information separately, I think both should be available. If OS Version is already available I definitely prefer the Framework way.

paul1956 avatar Aug 04 '21 20:08 paul1956

@KlausLoeffelmann I don't know if there is much we can/should do here. Thoughts?

JeremyKuhne avatar Aug 16 '23 20:08 JeremyKuhne

On first glance, I would not know, why we should have this as a breaking change, since it seems unnecessary. I would need to take a closer look later, but all that said, I am afraid this is not more than prio 3. Or up for grabs?

KlausLoeffelmann avatar Aug 17 '23 16:08 KlausLoeffelmann