What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

A way to get Demonbuddys version?

Stove

New Member
Joined
Apr 10, 2012
Messages
182
Reaction score
9
Is there anyway i can get demonbuddy's current version?
var _version = Demonbuddy.GetVersion();

Like this?

I need it for a check. Help much appreciated :)
 
Demonbuddy.App.ResourceAssembly.GetName().Version
or if that is not working mayb this
System.Reflection.Assembly.GetExecutingAssembly().GetName().Version

.. did not test both myself
 
Yeah the last one works, ty :)
hmm, not entirely: Current DB Version 0.0.0.0 :P

Edit: Found a way:
Demonbuddy.App.ResourceAssembly.FullName
gotta add 5 references though.
 
Last edited:
Assembly.GetEntryAssembly().GetName().Version

mayb this because you call it from a plugin
 
Yeah it's from a plugin
The last one you gave me worked as intended. Ty!
 
Back
Top