Samsung smart tv device unique identifier

I am trying to programmatically obtain a unique device identifier from a Samsung Smart TV device.

The closest I found in the documentation is the GetDUIDfunction on the object SAMSUNG-INFOLINK-NNAVI, but for this you need to specify the mac address, which confuses me, what is the purpose of this function.

My question is how to get, for example, the serial number of a device or other information that uniquely identifies it.

+5
source share
2 answers

According to SamsungDForum, the way to get the DUID ("Unique Device Identifier"):

In index.html add:

<object id='pluginNetwork' border=0 classid='clsid:SAMSUNG-INFOLINK-NETWORK'></object>
<object id='pluginObjectNNavi' border=0 classid='clsid:SAMSUNG-INFOLINK-NNAVI'></object>

And somewhere in your Javascriptห

var networkPlugin = document.getElementById('pluginNetwork');
var nnaviPlugin = document.getElementById('pluginObjectNNavi');
var deviceId = nnaviPlugin.GetDUID(networkPlugin.GetHWaddr());

, , , .

edit: , @IvanSolntsev , ESN ( ).

edit2: โ€‹โ€‹ DUID.

+6

GetESN

html:

<object id='pluginExternal' border=0 classid='clsid:SAMSUNG-INFOLINK-EXTERNALWIDGETINTERFACE'></object>

javascript:

var ExternalWidgetInterface = document.getElementById('pluginExternal');
var sn = ExternalWidgetInterface.GetESN("NFLX");
+1

All Articles