2 Replies Latest reply on Aug 19, 2013 2:23 PM by Ralf

    Write Enabler Terminal ID to Text or ini File on FlashDisk

    Ralf Apprentice

      Hello,

       

      i need the Terminal ID from Enabler written to a text or ini file on the flashdisk

      on WindowsCE  6 mobile Devices. Goal is to set the local Ident of devices unique !

       

      The Wavelink key is located in the registry on the CE 6

      [HKEY_LOCAL_MACHINE\SOFTWARE\Wavelink\Avalanche\State]
      TerminalID =hereismyname

       

      Out of the box the Windows CE 6 Device Name is

       

      [HKEY_LOCAL_MACHINE\Ident]
      Name =hereismyname

       

      i need to privide the Terminal ID as Name, so

      Windows CE Name and Terminal ID are identical !

       

      Ralf

        • 1. Re: Write Enabler Terminal ID to Text or ini File on FlashDisk
          Matt Dermody SSMMVPGroup

          Ralf,

           

          You could write an application that would open and parse through the _DEVPROP.prf Avalanche file on the device where the TerminalID is stored and then have that program then set the regkey with that TerminalID. This could definitely be done in .NET.

           

          For example, you can open the properties file with StreamReader:

           

          Dim objReader As New System.IO.StreamReader("\Program Files\Wavelink\Avalanche\Config\_DEVPROP.PRF")

          1 of 1 people found this helpful
          • 2. Re: Write Enabler Terminal ID to Text or ini File on FlashDisk
            Ralf Apprentice

            hello jmdrmody, i am not able to write applications for dotnet.... i am a little bit unhappy, that there is no way inside the avalanche configuration file to handle this variable. the telnet client e.g. handles for its own name the t% as Terminal ID, but this t% is not usable for other apps or i didn´t found the right way to use it. if someone can write me a short application working with dotnet 3.5 on windows CE 6 i will give him a beer.... or a nice postcard from germany !

            the app should only do a copy from

             

            [HKEY_LOCAL_MACHINE\SOFTWARE\Wavelink\Avalanche\State]
            TerminalID =hereismyname

            to

            [HKEY_LOCAL_MACHINE\Ident]
            Name =hereismyname

             

            thanks for spending time in my threads

             

            Ralf