Class MdfeProc
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Unimake.Business.DFe.Xml.MDFe
Assembly: Unimake.Business.DFe.dll
Syntax
[Serializable]
public class MdfeProc : XMLBase, IXmlSerializable
Properties
DhConexao
Declaration
public DateTimeOffset DhConexao { get; set; }
Property Value
Type | Description |
---|---|
System.DateTimeOffset |
DhConexaoField
Declaration
public string DhConexaoField { get; set; }
Property Value
Type | Description |
---|---|
System.String |
IpTransmissor
Declaration
public string IpTransmissor { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MDFe
Declaration
public MDFe MDFe { get; set; }
Property Value
Type | Description |
---|---|
MDFe |
NomeArquivoDistribuicao
Nome do arquivo de distribuição
Declaration
public string NomeArquivoDistribuicao { get; }
Property Value
Type | Description |
---|---|
System.String |
NPortaCon
Declaration
public int NPortaCon { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ProtMDFe
Declaration
public ProtMDFe ProtMDFe { get; set; }
Property Value
Type | Description |
---|---|
ProtMDFe |
Versao
Declaration
public string Versao { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
GerarXML()
Declaration
public override XmlDocument GerarXML()
Returns
Type | Description |
---|---|
System.Xml.XmlDocument |
Overrides
LoadFromFile(String)
Deserializar o XML no objeto MdfeProc
Declaration
public MdfeProc LoadFromFile(string filename)
Parameters
Type | Name | Description |
---|---|---|
System.String | filename | Localização do arquivo XML de distribuição do MDFe |
Returns
Type | Description |
---|---|
MdfeProc | Objeto do XML de distribuição do MDFe |
LoadFromXML(String)
Desserializar a string do XML MdfeProc no objeto MdfeProc
Declaration
public MdfeProc LoadFromXML(string xml)
Parameters
Type | Name | Description |
---|---|---|
System.String | xml | string do XML MdfeProc |
Returns
Type | Description |
---|---|
MdfeProc | Objeto da MdfeProc |