Created
January 5, 2020 07:41
-
-
Save SumindaD/e43f5ace9d3af91168836047a6eaa04f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Retrieve the image data from the signed xml document | |
/// </summary> | |
/// <param name="xmlFilePath">Path to the signed xml image document</param> | |
/// <returns>Byte[] of the image</returns> | |
public static byte[] GetImage(string xmlFilePath) | |
{ | |
var unsignedXMLDocument = UnsignXMLDocument(xmlFilePath); | |
return DeserializeXMLToImage(unsignedXMLDocument); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment