Usage

try
{
XmlSchemaVerifier.Core.Verify(xmlFilePath, xsdFilePath)
}
catch (System.Xml.Schema.XmlSchemaValidationException ex)
{
/* Do whatever has to be done if Schema Verification fails */
}