Hi,
在Windows.Security.Cryptography.Core中的MacAlgorithmProvider中有HMAC-SHA256算法,具体例子可以参考:
http://msdn.microsoft.com/en-us/library/windows/apps/windows.security.cryptography.core.macalgorithmprovider.aspx
Aaron Xue [MSFT] MSDN Community Support | Feedback to us Get or Request Code Sample from Microsoft Please remember to mark the replies as answers if they help and unmark them if they provide no help.