---
title: CMGetProfileMD5
framework: Application Services
role: pseudoSymbol
platforms: []
path: applicationservices/colorsync_manager/1804876-cmgetprofilemd5
---

# CMGetProfileMD5

Gets the MD5 checksum from the profile header (message digest)

## Declaration

```occ
CMError CMGetProfileMD5 (
   CMProfileRef prof,
   CMProfileMD5 digest
);
```

## Parameters

- `prof`: 
- `digest`: 

## Return Value

A `CMError` value. See [Result Codes](../colorsync_manager.md).

## Overview

You can call this function to determine if two profiles are identical, or if a profile has changed over time. You can access this new MD5 checksum directly in the profile header, or use the function `CMGetProfileMD5`. This function has the advantage that it works with both ICC 4 profiles and earlier profiles. 

## See Also

### Accessing Profiles

- [CMOpenProfile](1804853-cmopenprofile.md)
- [CMValidateProfile](1804856-cmvalidateprofile.md)
- [CMCloseProfile](1804861-cmcloseprofile.md)
- [CMUpdateProfile](1804864-cmupdateprofile.md)
- [CMCopyProfile](1804870-cmcopyprofile.md)
- [CMProfileModified](1804872-cmprofilemodified.md)
- [CMGetProfileHeader](1804879-cmgetprofileheader.md)
- [CMSetProfileHeader](1804882-cmsetprofileheader.md)
- [CMGetProfileLocation](1804885-cmgetprofilelocation.md)
- [NCMGetProfileLocation](1804889-ncmgetprofilelocation.md)
- [CMCloneProfileRef](1804891-cmcloneprofileref.md)
- [CMGetProfileRefCount](1804894-cmgetprofilerefcount.md)
- [CMFlattenProfile](1804897-cmflattenprofile.md)
- [NCMUnflattenProfile](1804901-ncmunflattenprofile.md)
