How to get fully qualified assembly name

后端 未结 2 809

is there any easy way to get the fully qualified name for assembbly? e.g.

2条回答
  •  旧巷少年郎
    2021-01-20 05:30

    This article (How to: Determine an Assembly's Fully Qualified Name ) will probably help you


    Code from MSDN

    //s if the Fully Qualified assembly name
    Type t = typeof(System.Data.DataSet);
    string s = t.Assembly.FullName.ToString();
    

提交回复
热议问题