[#GetDescriptorChecksum]
= GetDescriptorChecksum
:mrdocs:

Get the checksum for a `descriptor`&period;

== Synopsis

Declared in `&lt;script&sol;descriptor&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::string
GetDescriptorChecksum(std::string const& descriptor);
----

== Description

* If it already has one, and it is correct, return the checksum in the input&period;
* If it already has one that is wrong, return &quot;&quot;&period;
* If it does not already have one, return the checksum that would need to be added&period;

== Return Value

The descriptor checksum, or an empty string if the existing one is wrong&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *descriptor* [in]
| The descriptor string to checksum&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
