Often a single license can be used to represent the licensing terms.
Sometimes it is necessary to include a choice of one or more licenses
or some combination of license identifiers.
Examples: "LGPL-2.1-only OR MIT", "LGPL-2.1-only AND MIT",
"GPL-2.0-or-later WITH Bison-exception-2.2".
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThis document provides reference documentation and code samples for the \u003ccode\u003eLicense\u003c/code\u003e class within the Grafeas v1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLicense\u003c/code\u003e class represents license information and inherits from \u003ccode\u003eobject\u003c/code\u003e, implementing interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLicense\u003c/code\u003e class is available in multiple versions, with the latest version being 3.7.0, and older versions going back to 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eComments\u003c/code\u003e and \u003ccode\u003eExpression\u003c/code\u003e, both of which are strings, that offer space for specific licensing details and the exact terms of the license, respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLicense\u003c/code\u003e class can be constructed with or without an existing \u003ccode\u003eLicense\u003c/code\u003e object as a template.\u003c/p\u003e\n"]]],[],null,["# Grafeas v1 API - Class License (3.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.10.0 (latest)](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.License)\n- [3.8.0](/dotnet/docs/reference/Grafeas.V1/3.8.0/Grafeas.V1.License)\n- [3.7.0](/dotnet/docs/reference/Grafeas.V1/3.7.0/Grafeas.V1.License)\n- [3.6.0](/dotnet/docs/reference/Grafeas.V1/3.6.0/Grafeas.V1.License)\n- [3.5.0](/dotnet/docs/reference/Grafeas.V1/3.5.0/Grafeas.V1.License)\n- [3.4.0](/dotnet/docs/reference/Grafeas.V1/3.4.0/Grafeas.V1.License)\n- [3.3.0](/dotnet/docs/reference/Grafeas.V1/3.3.0/Grafeas.V1.License)\n- [3.2.0](/dotnet/docs/reference/Grafeas.V1/3.2.0/Grafeas.V1.License)\n- [3.1.0](/dotnet/docs/reference/Grafeas.V1/3.1.0/Grafeas.V1.License)\n- [3.0.0](/dotnet/docs/reference/Grafeas.V1/3.0.0/Grafeas.V1.License)\n- [2.4.0](/dotnet/docs/reference/Grafeas.V1/2.4.0/Grafeas.V1.License)\n- [2.3.0](/dotnet/docs/reference/Grafeas.V1/2.3.0/Grafeas.V1.License)\n- [2.2.0](/dotnet/docs/reference/Grafeas.V1/2.2.0/Grafeas.V1.License) \n\n public sealed class License : IMessage\u003cLicense\u003e, IEquatable\u003cLicense\u003e, IDeepCloneable\u003cLicense\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Grafeas v1 API class License.\n\nLicense information. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e License \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[License](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.License), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[License](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.License), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[License](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1.License), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Grafeas.V1](/dotnet/docs/reference/Grafeas.V1/latest/Grafeas.V1)\n\nAssembly\n--------\n\nGrafeas.V1.dll\n\nConstructors\n------------\n\n### License()\n\n public License()\n\n### License(License)\n\n public License(License other)\n\nProperties\n----------\n\n### Comments\n\n public string Comments { get; set; }\n\nComments\n\n### Expression\n\n public string Expression { get; set; }\n\nOften a single license can be used to represent the licensing terms.\nSometimes it is necessary to include a choice of one or more licenses\nor some combination of license identifiers.\nExamples: \"LGPL-2.1-only OR MIT\", \"LGPL-2.1-only AND MIT\",\n\"GPL-2.0-or-later WITH Bison-exception-2.2\"."]]