[VB.NET] Easiest way to get application version + checksum from server?

Discussion in 'Mixed Languages' started by QuantumBug, Nov 7, 2012.

  1. QuantumBug

    QuantumBug MDL Developer

    Mar 7, 2012
    1,485
    1,321
    60
    Because I have my own server now I've added a dedicated update section to WinTK for the version 3 release.

    Would it be best to just upload a text file and download + read from it to get the latest version and checksum?

    Does anyone know an easier way?
     
  2. Josh Cell

    Josh Cell MDL Developer

    Jan 8, 2011
    3,519
    7,106
    120
    XML is the best way to do it. Simply host your XML into the server and use an LINQ for do that...

    My server is based in stream, and is a bit more complicated. I'll search for an good LINQ for XML on my database when I back to my home. :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. QuantumBug

    QuantumBug MDL Developer

    Mar 7, 2012
    1,485
    1,321
    60
    #3 QuantumBug, Nov 7, 2012
    Last edited: Nov 7, 2012
    (OP)
    Hey guys, thanks for the input.

    I did know how to do this in the first place and wanted some input, but I whipped up an XML file just like Josh said. Is working A+

    [​IMG]
     
  4. PAYMYRENT

    PAYMYRENT MDL Developer

    Jul 28, 2009
    1,462
    419
    60
    if you happen to have a php server just write a php script that outputs md5 or sha1 hash, highest version of the file on the server like a substring of the filename and the php could also write a changelog to the response. thats how i do it on my server :p