public extern CryptographicKey CreateKey([In] IBuffer keyMaterial); public static extern MacAlgorithmProvider OpenAlgorithm([In] string algorithm);