I had to work out what version of Notes/Domino a person is using to determine which exe to put on the server. The easy way to do this is via the session.notesbuildversion property. But I had to poke around to find what Notes Version relates to which notesbuildversion. I found this table on the web (sorry I can't remember where), but I think it is very useful.
Enjoy.
114 Notes 3.x
136 Notes 4.0, 4.0x
138 Notes 4.1, 4.1x
145 Notes 4.5, 4.5x
147 Notes 4.6
166 Notes 5.0, 5.0x
190 Notes 6.0, 6.0.1
191 Notes 6.0.2
194 Notes 6.0.3, 6.5
198 Notes 6.5.5
256 Notes 7.0
261 Notes 7.0.1
262 Notes 7.0.2
266 Notes 7.0.3
301 Notes 8.0
307 Notes 8.0 Basic
323 Notes 8.5