private Authorize ( string name, string domain, int size, int expiration, string signature ) : bool | ||
name | string | |
domain | string | |
size | int | |
expiration | int | |
signature | string | |
return | bool |
/// <summary> /// <para>(This is a WebPlayer-only function).</para> /// </summary> /// <param name="string">Signature The authentification signature provided by Unity.</param> /// <param name="int">Size The number of bytes allocated to this cache.</param> /// <param name="name"></param> /// <param name="domain"></param> /// <param name="size"></param> /// <param name="signature"></param> /// <param name="expiration"></param> public static bool Authorize(string name, string domain, long size, string signature) { return(Caching.Authorize(name, domain, size, -1, signature)); }
public static bool Authorize(string name, string domain, int size, int expiration, string signature) { return(Caching.Authorize(name, domain, (long)size, expiration, signature)); }