本文代码来自:https://msdn.microsoft.com/zh-cn/library/ee197665.aspx
第一步、引用 -> 程序集 -> 扩展 里找到对应 .dll 添加引用。
第二步、照着页面内容做吧。