You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

version.go 506B

1234567891011121314151617181920
  1. package ntlmssp
  2. // Version is a struct representing https://msdn.microsoft.com/en-us/library/cc236654.aspx
  3. type Version struct {
  4. ProductMajorVersion uint8
  5. ProductMinorVersion uint8
  6. ProductBuild uint16
  7. _ [3]byte
  8. NTLMRevisionCurrent uint8
  9. }
  10. // DefaultVersion returns a Version with "sensible" defaults (Windows 7)
  11. func DefaultVersion() Version {
  12. return Version{
  13. ProductMajorVersion: 6,
  14. ProductMinorVersion: 1,
  15. ProductBuild: 7601,
  16. NTLMRevisionCurrent: 15,
  17. }
  18. }