CanonCode Class |
Namespace: Scilligence.MolEngine
public class CanonCode
The CanonCode type exposes the following members.
| Name | Description | |
|---|---|---|
| Bytes |
Byte arrow of cannonical code
| |
| GUID |
GUID of cannonical code
| |
| Hex |
Hex string of cannonical code
|
| Name | Description | |
|---|---|---|
| Bytes2Guid | ||
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| String2Guid | ||
| ToString | (Overrides ObjectToString.) |
| Name | Description | |
|---|---|---|
| kVersionNo |
Cannonicalization version
|
Molecule m = Molecule.ReadSMILES("c1ccccc1OCCC");
CannoCode cano = m.CanonicalCode;
Console.WriteLine(m.Hex);
Console.WriteLine(m.GUID);
Console.WriteLine(m.ToString());