I am getting this exception
System.Execption The Evaluation water mark has been changed
tell me how to solve it
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using Aspose.Slides;
using Aspose.License;
namespace WindowsApplication2
{
///
/// Summary description for Form1.
///
public class Form1 : System.Windows.Forms.Form
{
private System.Windows.Forms.Button button1;
///
/// Required designer variable.
///
private System.ComponentModel.Container components = null;
public Form1()
{
//
// Required for Windows Form Designer support
//
InitializeComponent();
//
// TODO: Add any constructor code after InitializeComponent call
//
}
///
/// Clean up any resources being used.
///
protected override void Dispose( bool disposing )
{
if( disposing )
{
if (components != null)
{
components.Dispose();
}
}
base.Dispose( disposing );
}
#region Windows Form Designer generated code
///
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
///
private void InitializeComponent()
{
this.button1 = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(128, 96);
this.button1.Name = "button1";
this.button1.TabIndex = 0;
this.button1.Text = "button1";
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// Form1
//
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
this.ClientSize = new System.Drawing.Size(292, 266);
this.Controls.Add(this.button1);
this.Name = "Form1";
this.Text = "Form1";
this.ResumeLayout(false);
}
#endregion
///
/// The main entry point for the application.
///
[STAThread]
static void Main()
{
Application.Run(new Form1());
}
private void button1_Click(object sender, System.EventArgs e)
{
//Instantiate a Presentation object that represents a PPT file
Presentation pres=new Presentation();
//Create a License object
try
{
Aspose.License.Licensing license = new Aspose.License.Licensing("YmszV85roq/zw6f/ls7Ozq6ytoaCgoa+AA==","C:\\Program Files\\Aspose\\Aspose.Slides\\Bin\\DaedalusSoftware.lic");
//Set the license of Aspose.Slides to avoid the evaluation limitations
//license.SetCustomLicenseField("LicenseFileName","DaedalusSoftware.lic");
}
catch(Exception EE)
{
MessageBox.Show(EE.ToString());
}
//Adding an empty slide to the presentation and getting the reference of
//that empty slide
Slide slide=pres.AddEmptySlide();
//Adding a rectangle (X=2400, Y=1800, Width=1000 & Height=500) to the slide
Aspose.Slides.Rectangle rect=slide.Shapes.AddRectangle(2400,1800,1000,500);
//Hiding the lines of rectangle
rect.LineFormat.ShowLines=false;
//Adding a text frame to the rectangle with "Hello World" as a default text
rect.AddTextFrame("Hello World");
//Removing the first slide of the presentation which is always added by
//Aspose.Slides by default while creating the presentation
pres.Slides.RemoveAt(0);
//Writing the presentation as a PPT file
pres.Write("C:\\hello.ppt");
}
}
}