/// <summary> /// Gets the public key token /// </summary> /// <returns></returns> public byte[] GetPublicKeyToken() { if (publicKeyToken == null && publicKey != null) { try { publicKeyToken = AssemblyHasher.CreatePublicKeyToken(publicKey); } catch (IOException) { } } return(publicKeyToken); }
/// <summary> /// Gets the public key token /// </summary> /// <returns></returns> public byte[]? GetPublicKeyToken() { if (publicKeyToken is null && !(publicKey is null)) { try { publicKeyToken = AssemblyHasher.CreatePublicKeyToken(publicKey); } catch (IOException) { } } return(publicKeyToken); }