question

jorge8agomez avatar image
jorge8agomez asked

Where I need to put the Secret Key when i need to use the C# SDK ?

Where I need to put the Secret Key when i need to use the C# SDK ? This SDK only requires the title ID ?

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Seth Du avatar image
Seth Du answered

If you are implement a client that is only used by players, you shouldn’t add secret keys in your code in case of security issues. However, if you are building a tool or a server build, you may simply use “PlayFabSettings.staticSettings.TitleId” to set up the secret key at the beginning of your code so that server/admin API will be available.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.