RightsManagementFailureCode.cs 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. // Permission is hereby granted, free of charge, to any person obtaining
  2. // a copy of this software and associated documentation files (the
  3. // "Software"), to deal in the Software without restriction, including
  4. // without limitation the rights to use, copy, modify, merge, publish,
  5. // distribute, sublicense, and/or sell copies of the Software, and to
  6. // permit persons to whom the Software is furnished to do so, subject to
  7. // the following conditions:
  8. //
  9. // The above copyright notice and this permission notice shall be
  10. // included in all copies or substantial portions of the Software.
  11. //
  12. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  13. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  14. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  15. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  16. // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  17. // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  18. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  19. //
  20. // Copyright (c) 2007 Novell, Inc. (http://www.novell.com)
  21. //
  22. // Authors:
  23. // Chris Toshok ([email protected])
  24. //
  25. using System;
  26. namespace System.Security.RightsManagement {
  27. public enum RightsManagementFailureCode
  28. {
  29. ManifestPolicyViolation = -2147183860,
  30. InvalidLicense = -2147168512,
  31. InfoNotInLicense,
  32. InvalidLicenseSignature,
  33. EncryptionNotPermitted = -2147168508,
  34. RightNotGranted,
  35. InvalidVersion,
  36. InvalidEncodingType,
  37. InvalidNumericalValue,
  38. InvalidAlgorithmType,
  39. EnvironmentNotLoaded,
  40. EnvironmentCannotLoad,
  41. TooManyLoadedEnvironments,
  42. IncompatibleObjects = -2147168498,
  43. LibraryFail,
  44. EnablingPrincipalFailure,
  45. InfoNotPresent,
  46. BadGetInfoQuery,
  47. KeyTypeUnsupported,
  48. CryptoOperationUnsupported,
  49. ClockRollbackDetected,
  50. QueryReportsNoResults,
  51. UnexpectedException,
  52. BindValidityTimeViolated,
  53. BrokenCertChain,
  54. BindPolicyViolation = -2147168485,
  55. BindRevokedLicense,
  56. BindRevokedIssuer,
  57. BindRevokedPrincipal,
  58. BindRevokedResource,
  59. BindRevokedModule,
  60. BindContentNotInEndUseLicense,
  61. BindAccessPrincipalNotEnabling,
  62. BindAccessUnsatisfied,
  63. BindIndicatedPrincipalMissing,
  64. BindMachineNotFoundInGroupIdentity,
  65. LibraryUnsupportedPlugIn,
  66. BindRevocationListStale,
  67. BindNoApplicableRevocationList,
  68. InvalidHandle = -2147168468,
  69. BindIntervalTimeViolated = -2147168465,
  70. BindNoSatisfiedRightsGroup,
  71. BindSpecifiedWorkMissing,
  72. NoMoreData = -2147168461,
  73. LicenseAcquisitionFailed,
  74. IdMismatch,
  75. TooManyCertificates,
  76. NoDistributionPointUrlFound,
  77. AlreadyInProgress,
  78. GroupIdentityNotSet,
  79. RecordNotFound,
  80. NoConnect,
  81. NoLicense,
  82. NeedsMachineActivation,
  83. NeedsGroupIdentityActivation,
  84. ActivationFailed = -2147168448,
  85. Aborted,
  86. OutOfQuota,
  87. AuthenticationFailed,
  88. ServerError,
  89. InstallationFailed,
  90. HidCorrupted,
  91. InvalidServerResponse,
  92. ServiceNotFound,
  93. UseDefault,
  94. ServerNotFound,
  95. InvalidEmail,
  96. ValidityTimeViolation,
  97. OutdatedModule,
  98. NotSet,
  99. MetadataNotSet,
  100. RevocationInfoNotSet,
  101. InvalidTimeInfo,
  102. RightNotSet,
  103. LicenseBindingToWindowsIdentityFailed,
  104. InvalidIssuanceLicenseTemplate,
  105. InvalidKeyLength,
  106. ExpiredOfficialIssuanceLicenseTemplate = -2147168425,
  107. InvalidClientLicensorCertificate,
  108. HidInvalid,
  109. EmailNotVerified,
  110. ServiceMoved,
  111. ServiceGone,
  112. AdEntryNotFound,
  113. NotAChain,
  114. RequestDenied,
  115. DebuggerDetected,
  116. InvalidLockboxType = -2147168400,
  117. InvalidLockboxPath,
  118. InvalidRegistryPath,
  119. NoAesCryptoProvider,
  120. GlobalOptionAlreadySet,
  121. OwnerLicenseNotFound,
  122. Success = 0
  123. }
  124. }