|   | DataPublisherImportCertificate Method | 
        
        
            Imports a certificate to the trusted certificates path.
            
        
        Namespace: GSF.TimeSeries.TransportAssembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.257-beta
 Syntax
Syntax[AdapterCommandAttribute("Imports a certificate to the trusted certificates path.", 
	new string[] { ... })]
public virtual string ImportCertificate(
	string fileName,
	byte[] certificateData
)<AdapterCommandAttribute("Imports a certificate to the trusted certificates path.", 
	New String() { ... })>
Public Overridable Function ImportCertificate ( 
	fileName As String,
	certificateData As Byte()
) As Stringpublic:
[AdapterCommandAttribute(L"Imports a certificate to the trusted certificates path.", 
	__gc new array<String^>^ { ... })]
virtual String^ ImportCertificate(
	String^ fileName, 
	array<unsigned char>^ certificateData
)[<AdapterCommandAttribute("Imports a certificate to the trusted certificates path.", 
	new string[] { ... })>]
abstract ImportCertificate : 
        fileName : string * 
        certificateData : byte[] -> string 
[<AdapterCommandAttribute("Imports a certificate to the trusted certificates path.", 
	new string[] { ... })>]
override ImportCertificate : 
        fileName : string * 
        certificateData : byte[] -> string function ImportCertificate(fileName, certificateData);
Parameters
- fileName  String
- The file name to give to the certificate when imported.
- certificateData  Byte
- The data to be written to the certificate file.
Return Value
StringThe local path on the server where the file was written.
 See Also
See Also