Domino Code Fragment

Code Name*
NotesVersion property
Date*
04/29/2024
Source (or email address if you prefer)*
Rlatulippe@romac.com
IP address:.3.144.202.167
Description*
This program displays the version number of Notes installed in the local Notes directory.
Type*
Java
Categories*
(Misc)
Implementation:
Required Client:
Server:
Limitations:
Comments:
Files/Graphics attachments (if applicable): Code:
import lotus.notes.*;


public class versionagent extends AgentBase
{
 public void NotesMain()
   {
   try
     {
       Session s = getSession();
       String v = s.getNotesVersion();
       System.out.println("Notes version = " + v);
     }
   catch (Exception e)
     {
       e.printStackTrace();
     }
   }
}