Get hardware information in flutter?

366 views Asked by At

Can anyone provide me a piece of code in dart language to get motherboard Serial Number? I found some code in c# but I can't write it in dart language .

1

There are 1 answers

0
PrzemekTom On

You can get some info with Device Info Plus package, even related to some internals, although I doubt if motherboard serial number - this information is so low level, that I find it hard to find any use case different than pure curiosity. But there are some properties returned for windows/linux platform which you have to check yourself.

In case you have windows, look how the plugin is written internally - there's a clue. You can fork the plugin and add new property based on some registry key for motherboards serial number. I'd start looking here. For linux there's similar way of finding things out.