Extracting GUID

Our Progam is working fine, all we need some help is to Extract the Current GUID value for the automatic Updater.

We have a table of GUIDs and corresponding Applications to launch at the end of the Update. Hence, we require the get the current GUID value.

There is a property in the AutomaticUpdaterBackend, GUID as a string, we are not sure how to get that value.Or could u suggest an alternative to this method.

Regards.

Hey Sweekriti,

I'm not quite sure what you mean. You can just use the "GUID" property. It's Read/Write so you can get the value.

Does this make sense?

Firstly, we have a database table with values of GUIDs and Corresponding Application to run. We have created a VB Form to automatically update these bunch of Applications. So everytime we create a new release of the VB Form, the new GUID made will correspond to the Application we have made release for. Thats what we need the GUID for.

Secondly,yes, GUID value (for the current form) is in the read/write property, but we are unable to access this value. Could you provide us with a code snippet or example to do so?

auBackend.GUID = "Value you set earlier in your program"'(at design time in most cases).

Then, to get the value...

string guidVal = auBackend.GUID

I still don't understand what you're trying to accomplish. The GUID property is just used for internal purposes within the AutomaticUpdater. It has no use other than as an identification.

Thanks, that helped a lot.

And Double thanks for the quick reply. Yes, we are kind of using it for identification purposes only but on a slightly different level. Its too much to explain the functionality of our code, but Thanks a Bunch for the help. It helped solve out the problem 😀