Get-iOS-Model icon indicating copy to clipboard operation
Get-iOS-Model copied to clipboard

[Enhancement] .NET Standard support

Open andreas-nesheim opened this issue 5 years ago • 4 comments

Is there any way this library could support .NET Standard? Not sure if it's possible, but it would be great to be able to use this from a class library.

Love the work, by the way!

andreas-nesheim avatar Sep 02 '19 12:09 andreas-nesheim

Hi @andreas-nesheim you have any Xamarion.iOS apps running .NET Standard?

dannycabrera avatar Sep 03 '19 19:09 dannycabrera

Not exactly. I have a Xamarin.iOS app and a Xamarin.Android app (native) which are using a shared .NET Standard library. To improve code reusage I would like to use your library from this .NET Standard project so I can toggle between using your library to get the correct iOS model if it's an iOS device and the same for Android.

andreas-nesheim avatar Sep 04 '19 06:09 andreas-nesheim

Gotcha, will take a deeper look as soon as I get some free time.

dannycabrera avatar Sep 11 '19 18:09 dannycabrera

Another good use for this would be when retrieving the device model over Bluetooth from the Gatt DeviceInformation service ModelNumberString characteristic as this returns the same format and it would be great to convert this into something nicer for display.

peterfoot avatar May 01 '21 15:05 peterfoot