aboutsummaryrefslogtreecommitdiffhomepage
path: root/csharp/keys
diff options
context:
space:
mode:
Diffstat (limited to 'csharp/keys')
-rw-r--r--csharp/keys/Google.ProtocolBuffers.snkbin0 -> 596 bytes
-rw-r--r--csharp/keys/generate_new_key.bat13
2 files changed, 13 insertions, 0 deletions
diff --git a/csharp/keys/Google.ProtocolBuffers.snk b/csharp/keys/Google.ProtocolBuffers.snk
new file mode 100644
index 00000000..6bbfc90f
--- /dev/null
+++ b/csharp/keys/Google.ProtocolBuffers.snk
Binary files differ
diff --git a/csharp/keys/generate_new_key.bat b/csharp/keys/generate_new_key.bat
new file mode 100644
index 00000000..9f99c077
--- /dev/null
+++ b/csharp/keys/generate_new_key.bat
@@ -0,0 +1,13 @@
+@ECHO OFF
+IF EXIST "C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin\sn.exe" GOTO FOUND
+goto USEPATH
+
+:FOUND
+"C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin\sn.exe" -k %~dp0\Google.ProtocolBuffers.snk
+GOTO EXIT
+
+:USEPATH
+sn.exe -k %~dp0\Google.ProtocolBuffers.snk
+GOTO EXIT
+
+:EXIT \ No newline at end of file