Transloadit.Assembly.AssemblyBuilder.SetAuthExpires C# (CSharp) Méthode

SetAuthExpires() public méthode

Sets the expiration datetime of the assembly (as UTC date)
public SetAuthExpires ( System.DateTime dateTime ) : void
dateTime System.DateTime Expiration datetime
Résultat void
        public void SetAuthExpires(DateTime dateTime)
        {
            auth["expires"] = String.Format("{0:yyyy'/'MM'/'dd HH:mm:ss+00:00}", dateTime);
        }