Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SetCertificate(string, string)

Sets the certificate to use to sign the Universal Windows Platform application package.
Read time 1 minuteLast updated 11 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
public static bool SetCertificate(string path, string password)

Parameters

path

The relative Asset path to the Certificate file (.pfx).

password

The certificate password. If the certificate does not require a password, use an empty string.

Returns

Type

Description

boolReturns true if Unity successfully updates the certificate. Otherwise, returns false.

Remarks

In the Editor, Unity displays this under Certificate in UWP Player Settings.