HMS

Home Media Server for Roku Players
git clone https://www.brianlane.com/git/HMS
Log | Files | Refs | README | LICENSE

deviceInfo.brs (712B)


      1 '**********************************************************
      2 '**  Video Player Example Application - DeviceInfo 
      3 '**  November 2009
      4 '**  Copyright (c) 2009 Roku Inc. All Rights Reserved.
      5 '**********************************************************
      6 
      7 '******************************************************
      8 'Get our device version
      9 '******************************************************
     10 
     11 Function GetDeviceVersion()
     12     return CreateObject("roDeviceInfo").GetVersion()
     13 End Function
     14 
     15 '******************************************************
     16 'Get our serial number
     17 '******************************************************
     18 
     19 Function GetDeviceESN()
     20     return CreateObject("roDeviceInfo").GetDeviceUniqueId()
     21 End Function