There are times when we need to know the PublicKeyToken of our .NET assembly (i.e. when we develop workflows for Office SharePoint Server) and we can achieve that by installing the assembly to the Global Assembly Cache (GAC) or use a disassembler. But today, I found an easier way which is to use the sn.exe tool.
To return the PublicKeyToken of an assembly, issue the following command on a Visual Studio Command Prompt:
sn -T <assembly-name>
To return the Public Key together with the token, use the -Tp argument instead.
Popular Post
-
S6 / 4.235 cc / 268 PS / 283 ft/lb (384 Nm) @ 4.000 / 0 - 62 mph (100 km/h): 10,4 s / Vmax: 123 mph (198 km/h) (click images for a larger ...
-
V8 / 4.395 cc / 555 PS / 502 lb/ft (680 Nm) @ 1.500 - 5.650 / biturbo / 0 - 62 mph (100 km/h): 3,9 s / Vmax: 193 mph (310 km/h) (click image...
-
Two years ago Tender Objects (or The Candy Twins as they were called back then...or was that a completely different band...I'm not sur...
-
With thanks to citizen contributor "Iain" for drawing our attention to one aspect of some disturbing developments. "Iain"...
-
Four hundred fifty electric Minis will hit the road in the next few weeks in California, New York and New Jersey. The leasees, who will have...
-
S4 / 1.390 cc / 180 PS - Engine of the year / 184 lb/ft (250 Nm) @ 2.000 - 4.500 / twincharger system (kompressor + turbo) / XDS front diff...
-
H ave not fully recovered - my voice is still a bit off-key (albeit a little sexy) and I'm still coughing like mad. I don't think an...
-
V12 / 5.576 cc / 385 PS / 406 ft/lb (550 Nm) @ 4.000 / 0 - 62 mph (100 km/h): 6,6 s / Vmax: 155 mph (250 km/h) (click images for a larger ...
-
We were really horrified and angry when, as we were sat inching forward in the heavy congestion on Aberdeen's world famous Union Street ...
-
To help promoting the release of new album Konkylie , When Saints Go Machine shares first single Kelly as a free download . Kelly by W...
No comments:
Post a Comment