System.ApplicationId.ApplicationId C# (CSharp) Method

ApplicationId() public method

public ApplicationId ( byte publicKeyToken, string name, System.Version version, string processorArchitecture, string culture ) : System.IO
publicKeyToken byte
name string
version System.Version
processorArchitecture string
culture string
return System.IO
        public ApplicationId(byte[] publicKeyToken, string name, Version version, string processorArchitecture, string culture)
        {
            if (name == null) throw new ArgumentNullException(nameof(name));
            if (name.Length == 0) throw new ArgumentException(SR.Argument_EmptyApplicationName);
            if (version == null) throw new ArgumentNullException(nameof(version));
            if (publicKeyToken == null) throw new ArgumentNullException(nameof(publicKeyToken));

            _publicKeyToken = (byte[])publicKeyToken.Clone();
            Name = name;
            Version = version;
            ProcessorArchitecture = processorArchitecture;
            Culture = culture;
        }