home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / t / tpapi.zip / NWSERIAL.PA1 < prev    next >
Text File  |  1992-03-02  |  3KB  |  59 lines

  1. {!R! FONT 15; FTMD 15; EXIT;}
  2.  
  3.  
  4. {***************************************************************************}
  5. {** Program : NWSERIAL                                                    **}
  6. {***************************************************************************}
  7. {** Version : 1.3             ** Started : 11/11/91  ** Ended :   /  /    **}
  8. {***************************************************************************}
  9. {******************************** Description ******************************}
  10. {***************************************************************************}
  11. {** OOP library for Netware API                                           **}
  12. {**                                                                       **}
  13. {** This unit forms the second level object : SERIAL                      **}
  14. {** This object is a descandent of          : NETWARE                     **}
  15. {**                                                                       **}
  16. {**                                                                       **}
  17. {**                                                                       **}
  18. {**                                                                       **}
  19. {***************************************************************************}
  20. {******************************** Information ******************************}
  21. {***************************************************************************}
  22. {** Provides Serial Number checking (can be used for tieing an            **}
  23. {** application to a particular server - a la LANSPOOL                    **}
  24. {**                                                                       **}
  25. {**                                                                       **}
  26. {** This code is (c) 1991,1992 Tony Covelli                               **}
  27. {** Portions (c) Novell Inc,                                              **}
  28. {**                                                                       **}
  29. {**                                                                       **}
  30. {***************************************************************************}
  31.  
  32. {$I NETWARE.INC}
  33.  
  34. UNIT NWSERIAL;
  35.  
  36. INTERFACE
  37.  
  38. USES
  39.  
  40.   netware, nwvar;
  41.  
  42. TYPE
  43.  
  44.   pSerialOBJ = ^SerialOBJ;
  45.   SerialOBJ  = object (NetwareOBJ)
  46.  
  47.     CONSTRUCTOR Init;
  48.  
  49.     FUNCTION    GetNetworkSerialNumber    (VAR SerialNumber : LONGINT;
  50.                                            VAR ApplicationNumber : WORD) : WORD;
  51.  
  52.     FUNCTION    VerifyNetworkSerialNumber (SerialNumber : LONGINT;
  53.                                            VAR ApplicationNumber : WORD) : WORD;
  54.  
  55.     DESTRUCTOR Done; VIRTUAL;
  56.  
  57.   END;
  58.  
  59.